35#include "../../exception/exceptionnotpossible.h"
59 xic_coord_sp.get()->xicSptr = std::make_shared<Xic>();
75 QObject::tr(
"XicCoord to add is of a different type"));
80 xic_coord_sp.get()->mzRange += to_add.get()->mzRange;
81 xic_coord_sp.get()->rtTarget += to_add.get()->rtTarget;
83 xic_coord_sp.get()->scanNumEnd += toadd->
scanNumEnd;
85 qDebug() <<
"xic_coord_sp.get()->scanNumBegin="
86 << xic_coord_sp.get()->scanNumBegin;
87 qDebug() <<
"xic_coord_sp.get()->scanNumEnd="
88 << xic_coord_sp.get()->scanNumEnd;
100 xic_coord_sp.get()->rtTarget *= number;
101 xic_coord_sp.get()->mzRange *= number;
103 xic_coord_sp.get()->scanNumBegin *= number;
104 xic_coord_sp.get()->scanNumEnd *= number;
117 xic_coord_sp.get()->rtTarget /= number;
118 xic_coord_sp.get()->mzRange *= (double)((
double)1 / number);
120 xic_coord_sp.get()->scanNumBegin /= number;
121 xic_coord_sp.get()->scanNumEnd /= number;
123 qDebug() <<
"xic_coord_sp.get()->scanNumBegin="
124 << xic_coord_sp.get()->scanNumBegin;
125 qDebug() <<
"xic_coord_sp.get()->scanNumEnd="
126 << xic_coord_sp.get()->scanNumEnd;
146 return QString(
"%1 begin=%2 end=%3")
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
@ TimsTofIonMobilityScanNumberStart
@ TimsTofIonMobilityScanNumberStop
std::shared_ptr< XicCoordTims > XicCoordTimsSPtr
std::shared_ptr< XicCoord > XicCoordSPtr
coordinates of the XIC to extract and the resulting XIC after extraction
void scanNumBeginRangeCorrection(long start_dev, long stop_dev)
apply scan num correction on xic coordinate
virtual XicCoordSPtr initializeAndClone() const override
intialize the XIC and make a deep copy of object
std::size_t scanNumEnd
mobility index end
virtual XicCoordSPtr addition(XicCoordSPtr &to_add) const override
compute a new XIC coord as the sum of the given one
std::size_t scanNumBegin
mobility index begin
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
virtual void reset() override
reset to zero
virtual XicCoordSPtr divideBy(double number) const override
compute a new xic coord as a division by
virtual XicCoordSPtr multiplyBy(double number) const override
compute a new xic coord as a product by
coordinates of the XIC to extract and the resulting XIC after extraction
XicSPtr xicSptr
extracted xic
double rtTarget
the targeted retention time to extract around intended in seconds, and related to one msrun....
MzRange mzRange
the mass to extract
virtual QString toString() const
get a description of the XIC coordinate in a string
XIC coordinate in a Tims MSrun.