libpappsomspp
Library for mass spectrometry
|
mean filter apply mean of y values inside the window : this results in a kind of smoothing More...
#include <filtermorpho.h>
Public Member Functions | |
FilterMorphoMean (std::size_t half_window_size) | |
FilterMorphoMean (const FilterMorphoMean &other) | |
virtual | ~FilterMorphoMean () |
FilterMorphoMean & | operator= (const FilterMorphoMean &other) |
double | getWindowValue (std::vector< DataPoint >::const_iterator begin, std::vector< DataPoint >::const_iterator end) const override |
std::size_t | getMeanHalfEdgeWindows () const |
![]() | |
FilterMorphoWindowBase (std::size_t half_window_size) | |
FilterMorphoWindowBase (const FilterMorphoWindowBase &other) | |
virtual | ~FilterMorphoWindowBase () |
FilterMorphoWindowBase & | operator= (const FilterMorphoWindowBase &other) |
virtual Trace & | filter (Trace &data_points) const override |
virtual std::size_t | getHalfWindowSize () const |
![]() | |
virtual | ~FilterInterface () |
Additional Inherited Members | |
![]() | |
std::size_t | m_halfWindowSize = 0 |
mean filter apply mean of y values inside the window : this results in a kind of smoothing
Definition at line 209 of file filtermorpho.h.
FilterMorphoMean::FilterMorphoMean | ( | std::size_t | half_window_size | ) |
Definition at line 414 of file filtermorpho.cpp.
FilterMorphoMean::FilterMorphoMean | ( | const FilterMorphoMean & | other | ) |
Definition at line 418 of file filtermorpho.cpp.
|
inlinevirtual |
Definition at line 215 of file filtermorpho.h.
std::size_t FilterMorphoMean::getMeanHalfEdgeWindows | ( | ) | const |
Definition at line 432 of file filtermorpho.cpp.
References pappso::FilterMorphoWindowBase::m_halfWindowSize.
Referenced by pappso::TraceDetectionZivy::detect(), pappso::TraceDetectionMoulon::getSmoothingHalfEdgeWindows(), and pappso::TraceDetectionZivy::getSmoothingHalfEdgeWindows().
|
overridevirtual |
Implements pappso::FilterMorphoWindowBase.
Definition at line 438 of file filtermorpho.cpp.
References pappso::meanYTrace().
FilterMorphoMean & FilterMorphoMean::operator= | ( | const FilterMorphoMean & | other | ) |
Definition at line 424 of file filtermorpho.cpp.
References pappso::FilterMorphoWindowBase::m_halfWindowSize.