|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.experiment.massspectrometry.Peak
public class Peak
This class represents a peak. Created by IntelliJ IDEA. User: Marc Date: Jun 18, 2010 Time: 9:00:58 AM
Field Summary | |
---|---|
double |
intensity
The intensity of the peak. |
double |
mz
The mass over charge ratio of the peak. |
double |
rt
The retention time when the peak was recorded. |
Constructor Summary | |
---|---|
Peak(double mz,
double intensity)
Constructor for a peak. |
|
Peak(double mz,
double intensity,
double rt)
Constructor for a peak. |
Method Summary | |
---|---|
boolean |
isSameAs(Peak aPeak)
Returns true if the peak has the same mz and intensity. |
Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject |
---|
addUrParam, getParameterKey, getUrParam |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double mz
public double rt
public double intensity
Constructor Detail |
---|
public Peak(double mz, double intensity)
mz
- the mz value of the peakintensity
- the intensity of the peakpublic Peak(double mz, double intensity, double rt)
mz
- the mz value of the peakintensity
- the intensity of the peakrt
- the retention time when the peak was recordedMethod Detail |
---|
public boolean isSameAs(Peak aPeak)
aPeak
- the peal to compare this peak to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |