39 #include "../../precision.h"
40 #include "../../massspectrum/massspectrum.h"
96 bool removeZeroValDataPoints);
115 void setDecimalPlaces(
int decimal_places);
116 int getDecimalPlaces()
const;
121 void setApplyMzShift(
bool applyMzShift);
122 bool isApplyMzShift()
const;
124 void setMzShift(
double value);
125 double getMzShift()
const;
127 void setRemoveZeroValDataPoints(
bool removeOrNot =
true);
128 bool isRemoveZeroValDataPoints()
const;
132 bool isValid()
const;
134 bool hasValidMzRange()
const;
136 std::vector<pappso::pappso_double> createBins();
137 std::vector<pappso::pappso_double>
140 QString toString(
int offset = 0,
const QString &spacer = QString())
const;
153 int m_decimalPlaces = -1;
159 bool m_applyMzShift =
false;
161 bool m_removeZeroValDataPoints =
true;
163 std::vector<double> createArbitraryBins();
The MzIntegrationParams class provides the parameters definining how m/z !
static PrecisionPtr getDaltonInstance(pappso_double value)
get a Dalton precision pointer
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
BinningType
Type of binning when performing integrations to a mass spectrum.
@ DATA_BASED
binning based on mass spectral data
@ ARBITRARY
binning based on arbitrary bin size value
double pappso_double
A type definition for doubles.
std::shared_ptr< const MassSpectrum > MassSpectrumCstSPtr
std::map< BinningType, QString > binningTypeMap
Map relating the BinningType to a textual representation.