libpappsomspp
Library for mass spectrometry
|
coordinates of the XIC to extract and the resulting XIC after extraction More...
#include <xiccoordtims.h>
Public Member Functions | |
XicCoordTims () | |
XicCoordTims (const XicCoordTims &other) | |
virtual | ~XicCoordTims () |
virtual XicCoordSPtr | initializeAndClone () const override |
intialize the XIC and make a deep copy of object | |
virtual XicCoordSPtr | addition (XicCoordSPtr &to_add) const override |
compute a new XIC coord as the sum of the given one | |
virtual XicCoordSPtr | multiplyBy (double number) const override |
compute a new xic coord as a product by | |
virtual XicCoordSPtr | divideBy (double number) const override |
compute a new xic coord as a division by | |
virtual void | reset () override |
reset to zero | |
virtual QString | toString () const override |
get a description of the XIC coordinate in a string | |
virtual const QVariant | getParam (XicCoordParam param) const override |
get a specific XIC coordinate parameter | |
void | scanNumBeginRangeCorrection (long start_dev, long stop_dev) |
apply scan num correction on xic coordinate | |
![]() | |
XicCoord () | |
XicCoord (const XicCoord &other) | |
virtual | ~XicCoord () |
Public Attributes | |
std::size_t | scanNumBegin |
mobility index begin | |
std::size_t | scanNumEnd |
mobility index end | |
![]() | |
MzRange | mzRange |
the mass to extract | |
double | rtTarget = 0 |
the targeted retention time to extract around intended in seconds, and related to one msrun. This is not a reference, just to save memory and cpu usage when extracting xic | |
XicSPtr | xicSptr = nullptr |
extracted xic | |
coordinates of the XIC to extract and the resulting XIC after extraction
to extract a XIC, we need basically the mass to extract it this structure is meant to extact a XIC quickly and not to maintain information about it : no peptide, no scan number, no retention time...
Definition at line 50 of file xiccoordtims.h.
|
inline |
pappso::XicCoordTims::XicCoordTims | ( | const XicCoordTims & | other | ) |
Copy constructor
other | TODO |
Definition at line 41 of file xiccoordtims.cpp.
References scanNumBegin, and scanNumEnd.
|
virtual |
|
overridevirtual |
compute a new XIC coord as the sum of the given one
Reimplemented from pappso::XicCoord.
Definition at line 66 of file xiccoordtims.cpp.
References scanNumBegin, and scanNumEnd.
|
overridevirtual |
compute a new xic coord as a division by
Reimplemented from pappso::XicCoord.
Definition at line 110 of file xiccoordtims.cpp.
|
overridevirtual |
get a specific XIC coordinate parameter
Reimplemented from pappso::XicCoord.
Definition at line 154 of file xiccoordtims.cpp.
References scanNumBegin, scanNumEnd, pappso::TimsTofIonMobilityScanNumberStart, and pappso::TimsTofIonMobilityScanNumberStop.
|
overridevirtual |
intialize the XIC and make a deep copy of object
Reimplemented from pappso::XicCoord.
Definition at line 54 of file xiccoordtims.cpp.
|
overridevirtual |
compute a new xic coord as a product by
Reimplemented from pappso::XicCoord.
Definition at line 94 of file xiccoordtims.cpp.
|
overridevirtual |
reset to zero
Reimplemented from pappso::XicCoord.
Definition at line 132 of file xiccoordtims.cpp.
References pappso::XicCoord::mzRange, pappso::XicCoord::rtTarget, scanNumBegin, scanNumEnd, and pappso::XicCoord::xicSptr.
void pappso::XicCoordTims::scanNumBeginRangeCorrection | ( | long | start_dev, |
long | stop_dev | ||
) |
apply scan num correction on xic coordinate
Definition at line 169 of file xiccoordtims.cpp.
References scanNumBegin, and scanNumEnd.
Referenced by pappso::IonMobilityGrid::translateXicCoordFromTo().
|
overridevirtual |
get a description of the XIC coordinate in a string
Reimplemented from pappso::XicCoord.
Definition at line 144 of file xiccoordtims.cpp.
References scanNumBegin, scanNumEnd, and pappso::XicCoord::toString().
std::size_t pappso::XicCoordTims::scanNumBegin |
mobility index begin
Definition at line 94 of file xiccoordtims.h.
Referenced by pappso::TimsFrame::XicComputeStructure::XicComputeStructure(), XicCoordTims(), addition(), getParam(), pappso::TimsData::getXicCoordTimsFromPrecursorId(), reset(), scanNumBeginRangeCorrection(), and toString().
std::size_t pappso::XicCoordTims::scanNumEnd |
mobility index end
Definition at line 98 of file xiccoordtims.h.
Referenced by pappso::TimsFrame::XicComputeStructure::XicComputeStructure(), XicCoordTims(), addition(), getParam(), pappso::TimsData::getXicCoordTimsFromPrecursorId(), reset(), scanNumBeginRangeCorrection(), and toString().