|
||||||||||
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,
ArrayList<Charge> possibleCharges)
Constructor for the precursor. |
|
Precursor(double rt,
double mz,
double intensity,
ArrayList<Charge> possibleCharges)
Constructor for the precursor. |
Method Summary | |
---|---|
double |
getIntensity()
Getter for the intensity. |
double |
getMz()
Getter for the m/z. |
ArrayList<Charge> |
getPossibleCharges()
Getter for the possible charges |
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. |
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, ArrayList<Charge> possibleCharges)
rt
- the retention timemz
- the m/zpossibleCharges
- the possible chargespublic Precursor(double rt, double mz, double intensity, ArrayList<Charge> possibleCharges)
rt
- mz
- intensity
- possibleCharges
- Method Detail |
---|
public double getRt()
public double getMz()
public double getIntensity()
public ArrayList<Charge> getPossibleCharges()
public 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 |