public class Peak extends ExperimentObject
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
Peak(double mz,
double intensity)
Constructor for a peak.
|
Peak(double mz,
double intensity,
double rt)
Constructor for a peak.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSameAs(Peak aPeak)
Returns true if the peak has the same mz and intensity.
|
addUrParam, getParameterKey, getUrParam
public double mz
public double rt
public double intensity
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 recordedpublic boolean isSameAs(Peak aPeak)
aPeak
- the peal to compare this peak toCopyright © 2013. All Rights Reserved.