24namespace matrix_science
46 int getScanId()
const;
47 double getIntensity()
const;
49 void setRt(
double rt);
50 void setScanId(
int scanId);
51 void setIntensity(
double intensity);
77 PEAK_STATE_UNKNOWN = 0,
79 PEAK_STATE_DISCARD =3,
83 static std::string getXmlCode(peakState code);
86 static peakState getCodeFromXml(std::string text);
92 explicit ms_xic(
const ms_xic_body & body);
95 explicit ms_xic(ms_xic_body * body);
101 void copyFrom(
const ms_xic * src);
105 ms_xic_body * body();
108 const ms_xic_body * body()
const;
110 void setCacheFile(matrix_science::ms_cache_file * cacheFile);
114 peakState getPeakState()
const;
117 bool hasIndexes()
const;
120 int getPeakStartIndex()
const;
123 int getPeakEndIndex()
const;
126 int getRegionStartIndex()
const;
129 int getRegionEndIndex()
const;
132 int getStartIndex()
const;
135 int getEndIndex()
const;
138 int getPeakStartScanId()
const;
141 int getPeakEndScanId()
const;
144 int getRegionStartScanId()
const;
147 int getRegionEndScanId()
const;
150 int getStartScanId()
const;
153 int getEndScanId()
const;
156 bool getUseTimeShift()
const;
159 double getElutionTimeShift()
const;
162 double getRtPeakStart()
const;
165 double getRtPeakEnd()
const;
168 double getRtRegionStart()
const;
171 double getRtRegionEnd()
const;
174 int getNumPoints()
const;
177 void getPoint(
int index,
double & rt,
int & scanId,
double & intensity)
const;
179 void getPoint(
int index,
double & OUTPUT,
int & OUTPUT,
double & OUTPUT)
const;
182 void setPeakStartIndex(
int value);
185 void setPeakEndIndex(
int value);
188 void setRegionStartIndex(
int value);
191 void setRegionEndIndex(
int value);
194 void setStartIndex(
int value);
197 void setEndIndex(
int value);
200 void setPeakStartScanId(
int value);
203 void setPeakEndScanId(
int scanId);
206 void setRegionStartScanId(
int scanId);
209 void setRegionEndScanId(
int scanId);
212 void setStartScanId(
int scanId);
215 void setEndScanId(
int scanId);
218 void setRtPeakStart(
double value);
221 void setRtPeakEnd(
double value);
224 void setRtRegionStart(
double value);
227 void setRtRegionEnd(
double value);
230 void setUseTimeShift(
bool value);
233 void setElutionTimeShift(
double value);
236 void setPeakState(peakState value);
240 std::deque<ms_xic_point> & getPoints();
243 const std::deque<ms_xic_point> & getPoints()
const;
A single point from a matrix_science::ms_xic object.
Definition: ms_xic.hpp:40
An eXtracted Ion Chromatogram (XIC).
Definition: ms_xic.hpp:69
peakState
Status codes from fitting peaks.
Definition: ms_xic.hpp:76