Go to the documentation of this file.
23 #ifndef _THRESHOLDFILTER_HPP_
24 #define _THRESHOLDFILTER_HPP_
74 ThresholdingBy_FractionOfTotalIntensityCutoff
81 Orientation_LeastIntense
85 double threshold_ = 1.0,
98 static const char* byTypeMostIntenseName[];
99 static const char* byTypeLeastIntenseName[];
106 #endif // _SPECTRUMLIST_PEAKFILTER_HPP_
virtual void describe(pwiz::msdata::ProcessingMethod &) const
Description of the default peak processing method. This element describes the base method used in the...
@ ThresholdingBy_FractionOfTotalIntensity
keep data points [more|less] relatively intense than <threshold>
@ ThresholdingBy_Count
keep the <threshold> [most|least] intense data points
ThresholdingOrientation
determines the orientation of the thresholding
ThresholdingBy_Type
determines the method of thresholding and the meaning of the threshold value
@ ThresholdingBy_FractionOfBasePeakIntensity
keep data points [more|less] relatively intense than <threshold>
const ThresholdingBy_Type byType
boost::shared_ptr< Spectrum > SpectrumPtr
ThresholdFilter(ThresholdingBy_Type byType_=ThresholdingBy_Count, double threshold_=1.0, ThresholdingOrientation orientation_=Orientation_MostIntense, const pwiz::util::IntegerSet &msLevelsToThreshold=pwiz::util::IntegerSet(1, INT_MAX))
const ThresholdingOrientation orientation
@ Orientation_MostIntense
@ ThresholdingBy_CountAfterTies
keep the <threshold> [most|least] intense data points
@ ThresholdingBy_AbsoluteIntensity
keep data points ranked [better|worse] than <threshold>
const pwiz::util::IntegerSet msLevelsToThreshold
a virtual container of integers, accessible via an iterator interface, stored as union of intervals