| 
    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 (const QString &strBuildParams) | |
| FilterMorphoMean (std::size_t half_window_size) | |
| FilterMorphoMean (const FilterMorphoMean &other) | |
| virtual | ~FilterMorphoMean () | 
| FilterMorphoMean & | operator= (const FilterMorphoMean &other) | 
| void | buildFilterFromString (const QString &strBuildParams) override | 
| build this filter using a string   | |
| QString | toString () const override | 
| QString | name () const override | 
  Public Member Functions inherited from pappso::FilterMorphoWindowBase | |
| 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 | 
  Public Member Functions inherited from pappso::FilterNameInterface | |
| virtual | ~FilterNameInterface () | 
  Public Member Functions inherited from pappso::FilterInterface | |
| virtual | ~FilterInterface () | 
Protected Member Functions | |
| double | getWindowValue (std::vector< DataPoint >::const_iterator begin, std::vector< DataPoint >::const_iterator end) const override | 
  Protected Member Functions inherited from pappso::FilterMorphoWindowBase | |
| void | buildFilterFromString (const QString &strBuildParams) override | 
| build this filter using a string   | |
Additional Inherited Members | |
  Protected Attributes inherited from pappso::FilterMorphoWindowBase | |
| 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 224 of file filtermorpho.h.
| pappso::FilterMorphoMean::FilterMorphoMean | ( | const QString & | strBuildParams | ) | 
Definition at line 463 of file filtermorpho.cpp.
References pappso::FilterMorphoWindowBase::FilterMorphoWindowBase(), and buildFilterFromString().
Referenced by FilterMorphoMean(), and operator=().
| FilterMorphoMean::FilterMorphoMean | ( | std::size_t | half_window_size | ) | 
Definition at line 439 of file filtermorpho.cpp.
References pappso::FilterMorphoWindowBase::FilterMorphoWindowBase().
| FilterMorphoMean::FilterMorphoMean | ( | const FilterMorphoMean & | other | ) | 
Definition at line 443 of file filtermorpho.cpp.
References FilterMorphoMean(), pappso::FilterMorphoWindowBase::FilterMorphoWindowBase(), and pappso::FilterMorphoWindowBase::m_halfWindowSize.
      
  | 
  inlinevirtual | 
Definition at line 231 of file filtermorpho.h.
      
  | 
  overridevirtual | 
build this filter using a string
| strBuildParams | a string coding the filter and its parameters "filterName|param1;param2;param3" | 
Implements pappso::FilterNameInterface.
Definition at line 393 of file filtermorpho.cpp.
References pappso::FilterMorphoWindowBase::m_halfWindowSize, and name().
Referenced by FilterMorphoMean().
      
  | 
  overrideprotectedvirtual | 
Implements pappso::FilterMorphoWindowBase.
Definition at line 457 of file filtermorpho.cpp.
References pappso::meanYTrace().
      
  | 
  overridevirtual | 
Reimplemented from pappso::FilterMorphoWindowBase.
Definition at line 417 of file filtermorpho.cpp.
Referenced by buildFilterFromString(), and toString().
| FilterMorphoMean & FilterMorphoMean::operator= | ( | const FilterMorphoMean & | other | ) | 
Definition at line 449 of file filtermorpho.cpp.
References FilterMorphoMean(), and pappso::FilterMorphoWindowBase::m_halfWindowSize.
      
  | 
  overridevirtual | 
Reimplemented from pappso::FilterMorphoWindowBase.
Definition at line 409 of file filtermorpho.cpp.
References pappso::FilterMorphoWindowBase::m_halfWindowSize, and name().