47 std::vector<DataPoint>::const_iterator end)
const = 0;
74 getWindowValue(std::vector<DataPoint>::const_iterator begin,
75 std::vector<DataPoint>::const_iterator end)
const override;
90 getWindowValue(std::vector<DataPoint>::const_iterator begin,
91 std::vector<DataPoint>::const_iterator end)
const override;
93 std::size_t getMaxHalfEdgeWindows()
const;
108 getWindowValue(std::vector<DataPoint>::const_iterator begin,
109 std::vector<DataPoint>::const_iterator end)
const override;
111 std::size_t getMinHalfEdgeWindows()
const;
129 Trace &filter(
Trace &data_points)
const override;
131 std::size_t getMinMaxHalfEdgeWindows()
const;
149 Trace &filter(
Trace &data_points)
const override;
151 std::size_t getMaxMinHalfEdgeWindows()
const;
160 std::size_t m_halfWindowSize = 0;
174 Trace &filter(
Trace &data_points)
const override;
176 std::size_t getHalfWindowSize()
const;
179 void buildFilterFromString(
const QString &strBuildParams)
override;
181 QString toString()
const override;
183 QString name()
const override;
200 getWindowValue(std::vector<DataPoint>::const_iterator begin,
201 std::vector<DataPoint>::const_iterator end)
const override;
219 getWindowValue(std::vector<DataPoint>::const_iterator begin,
220 std::vector<DataPoint>::const_iterator end)
const override;
222 std::size_t getMeanHalfEdgeWindows()
const;
236 std::size_t minmax_half_window_size);
244 Trace &filter(
Trace &data_points)
const override;
generic interface to apply a filter on a trace
anti spike filter set to zero alone values inside the window
virtual ~FilterMorphoAntiSpike()
compute background of a trace compute background noise on a trace
virtual ~FilterMorphoBackground()
FilterMorphoMedian m_filterMorphoMedian
FilterMorphoMinMax m_filterMorphoMinMax
transform the trace with the maximum of the minimum equivalent of the erode filter for pictures
FilterMorphoMax m_filterMax
FilterMorphoMin m_filterMin
virtual ~FilterMorphoMaxMin()
transform the trace into its maximum over a window
virtual ~FilterMorphoMax()
mean filter apply mean of y values inside the window : this results in a kind of smoothing
virtual ~FilterMorphoMean()
transform the trace with the minimum of the maximum equivalent of the dilate filter for pictures
FilterMorphoMax m_filterMax
FilterMorphoMin m_filterMin
virtual ~FilterMorphoMinMax()
transform the trace into its minimum over a window
virtual ~FilterMorphoMin()
virtual ~FilterMorphoSum()
base class that apply a signal treatment based on a window
virtual Trace & filter(Trace &data_points) const override
virtual double getWindowValue(std::vector< DataPoint >::const_iterator begin, std::vector< DataPoint >::const_iterator end) const =0
virtual ~FilterMorphoWindowBase()
std::size_t m_halfWindowSize
FilterMorphoWindowBase(std::size_t half_window_size)
virtual std::size_t getHalfWindowSize() const
FilterMorphoWindowBase & operator=(const FilterMorphoWindowBase &other)
Interface that allows to build filter objects from strings.
A simple container of DataPoint instances.
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...