110 std::size_t getNumberOfPoints()
const;
137 std::size_t getNumberOfPoints()
const;
203 double getDynamicRange()
const;
225 double getScaleFactorY()
const;
243 double getValue()
const;
246 void buildFilterFromString(
const QString &strBuildParams)
override;
248 QString toString()
const override;
250 QString name()
const override;
280 double getQuantileThreshold()
const;
282 virtual QString name()
const override;
283 QString toString()
const override;
286 void buildFilterFromString(
const QString &strBuildParams)
override;
apply std::floor (round to lowest integer) to all Y values
keep N datapoints form the greatest intensities to the lowest
FilterGreatestY(std::size_t number_of_points=0)
constructor with the number of datapoints to keep
std::size_t m_numberOfPoints
virtual ~FilterGreatestY()
keep N datapoints form the greatest intensities to the lowest within a mass range in dalton
std::size_t m_numberOfPoints
virtual ~FilterGreatestYperWindow()
FilterGreatestYperWindow(double window_range, std::size_t number_of_points_per_window)
constructor with the number of datapoints to keep
remove datapoints below a given intensity percentage (ratio) of the maximum intensity
virtual ~FilterHighPassPercentage()
FilterHighPassPercentage(double y_ratio)
remove datapoints below a given Y value (intensity)
FilterHighPass(double pass_y)
virtual ~FilterHighPass()
generic interface to apply a filter on a trace
remove datapoints higher than a given Y value (intensity)
FilterLowPass(double pass_y)
Interface that allows to build filter objects from strings.
removes a value found by quantile to all Y values
virtual ~FilterQuantileBasedRemoveY()
FilterQuantileBasedRemoveY(double quantile_threshold)
removes a value to all Y values
FilterRemoveY(const QString &strBuildParams)
rescales Y values into a dynamic range if the dynamic range is set to 0, this filter is ignored
virtual ~FilterRescaleY()
FilterRescaleY(double dynamic)
apply std::round (round to nearest integer) to all Y values
rescales Y values given a tranformation factor
virtual ~FilterScaleFactorY()
FilterScaleFactorY(double m_factor)
virtual ~MassSpectrumFilterGreatestItensities()
MassSpectrumFilterGreatestItensities(std::size_t number_of_points=0)
FilterGreatestY m_filterGreatestY
generic interface to apply a filter on a MassSpectrum This is the same as FilterInterface,...
Class to represent a mass spectrum.
A simple container of DataPoint instances.
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
@ filter
concerning filters (psm, peptide, protein validation)