|
||||||||||
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.Precursor
public class Precursor
This class modilizes the precursor.
Constructor Summary | |
---|---|
Precursor(double rt,
double mz,
java.util.ArrayList<Charge> possibleCharges)
Constructor for the precursor. |
|
Precursor(double mz,
double intensity,
java.util.ArrayList<Charge> possibleCharges,
double rtMin,
double rtMax)
Cronstructor with rt window and no reference rt. |
|
Precursor(double rt,
double mz,
double intensity,
java.util.ArrayList<Charge> possibleCharges)
Constructor for the precursor. |
|
Precursor(double rt,
double mz,
double intensity,
java.util.ArrayList<Charge> possibleCharges,
double rtMin,
double rtMax)
Cronstructor with rt window. |
Method Summary | |
---|---|
double |
getIntensity()
Getter for the intensity. |
double |
getMz()
Getter for the m/z. |
java.util.ArrayList<Charge> |
getPossibleCharges()
Getter for the possible charges. |
java.lang.String |
getPossibleChargesAsString()
Returns the possible charges as a string. |
Precursor |
getRecalibratedPrecursor(double mzCorrection,
double rtCorrection)
Returns a recalibrated precursor. |
double |
getRt()
Getter for the retention time. |
double[] |
getRtWindow()
Returns an array containing the min and max of the RT window. |
boolean |
hasRTWindow()
Returns a boolean indicating whether the rt window was implemented. |
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 |
Constructor Detail |
---|
public Precursor(double rt, double mz, java.util.ArrayList<Charge> possibleCharges)
rt
- the retention timemz
- the m/zpossibleCharges
- the possible chargespublic Precursor(double rt, double mz, double intensity, java.util.ArrayList<Charge> possibleCharges, double rtMin, double rtMax)
rt
- the retention timemz
- the m/zintensity
- possibleCharges
- the possible chargesrtMin
- the minimum of the RT windowrtMax
- the maximum of the RT windowpublic Precursor(double mz, double intensity, java.util.ArrayList<Charge> possibleCharges, double rtMin, double rtMax)
mz
- the m/zintensity
- possibleCharges
- the possible chargesrtMin
- the minimum of the RT windowrtMax
- the maximum of the RT windowpublic Precursor(double rt, double mz, double intensity, java.util.ArrayList<Charge> possibleCharges)
rt
- mz
- intensity
- possibleCharges
- Method Detail |
---|
public double getRt()
public boolean hasRTWindow()
public double[] getRtWindow()
public double getMz()
public double getIntensity()
public java.util.ArrayList<Charge> getPossibleCharges()
public java.lang.String getPossibleChargesAsString()
public Precursor getRecalibratedPrecursor(double mzCorrection, double rtCorrection)
mzCorrection
- the m/z correction to applyrtCorrection
- the rt correction to apply
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |