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;
108 Trace &filter(
Trace &data_points)
const override;
110 std::size_t getNumberOfPoints()
const;
114 std::size_t m_numberOfPoints = 0;
131 std::size_t number_of_points_per_window);
136 Trace &filter(
Trace &data_points)
const override;
138 std::size_t getNumberOfPoints()
const;
142 double m_xWindowRange = 1;
143 std::size_t m_numberOfPoints = 0;
198 double m_dynamic = 0;
206 double getDynamicRange()
const;
208 Trace &filter(
Trace &data_points)
const override;
226 Trace &filter(
Trace &data_points)
const override;
228 double getScaleFactorY()
const;
keep N datapoints form the greatest intensities to the lowest
tries to keep as much as possible monoisotopes, removing any possible C13 peaks
Class to represent a mass spectrum.
remove datapoints below a given intensity percentage (ratio) of the maximum intensity
keep N datapoints form the greatest intensities to the lowest within a mass range in dalton
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