libpappsomspp
Library for mass spectrometry
|
Go to the documentation of this file.
32 #include "../../exportinmportconfig.h"
46 FilterLowPass(
double pass_y);
47 FilterLowPass(
const FilterLowPass &other);
48 virtual ~FilterLowPass(){};
50 FilterLowPass &operator=(
const FilterLowPass &other);
52 Trace &filter(Trace &data_points)
const override;
69 Trace &filter(
Trace &data_points)
const override;
85 Trace &filter(
Trace &data_points)
const override;
89 double m_ratioPassY = 0;
105 Trace &filter(
Trace &data_points)
const override;
107 std::size_t getNumberOfPoints()
const;
111 std::size_t m_numberOfPoints = 0;
166 double m_dynamic = 0;
174 double getDynamicRange()
const;
176 Trace &filter(
Trace &data_points)
const override;
194 Trace &filter(
Trace &data_points)
const override;
196 double getScaleFactorY()
const;
keep N datapoints form the greatest intensities to the lowest
Class to represent a mass spectrum.
remove datapoints below a given intensity percentage (ratio) of the maximum intensity
remove datapoints below a given Y value (intensity)
generic interface to apply a filter on a trace
apply std::round (round to nearest integer) to all Y values
A simple container of DataPoint instances.
generic interface to apply a filter on a MassSpectrum This is the same as FilterInterface,...
rescales Y values into a dynamic range if the dynamic range is set to 0, this filter is ignored
rescales Y values given a tranformation factor
apply std::floor (round to lowest integer) to all Y values