| 
    libpappsomspp
    
   Library for mass spectrometry 
   | 
 
keep N datapoints form the greatest intensities to the lowest More...
#include <filterpass.h>
  
Public Member Functions | |
| FilterGreatestY (std::size_t number_of_points=0) | |
| constructor with the number of datapoints to keep   | |
| FilterGreatestY (const FilterGreatestY &other) | |
| virtual | ~FilterGreatestY () | 
| FilterGreatestY & | operator= (const FilterGreatestY &other) | 
| Trace & | filter (Trace &data_points) const override | 
| std::size_t | getNumberOfPoints () const | 
  Public Member Functions inherited from pappso::FilterInterface | |
| virtual | ~FilterInterface () | 
Private Attributes | |
| std::size_t | m_numberOfPoints = 0 | 
keep N datapoints form the greatest intensities to the lowest
Definition at line 95 of file filterpass.h.
| FilterGreatestY::FilterGreatestY | ( | std::size_t | number_of_points = 0 | ) | 
constructor with the number of datapoints to keep
| number_of_points | maximum number of points accepted in resulting spectrum | 
Definition at line 142 of file filterpass.cpp.
References m_numberOfPoints.
Referenced by FilterGreatestY(), and operator=().
| FilterGreatestY::FilterGreatestY | ( | const FilterGreatestY & | other | ) | 
Definition at line 147 of file filterpass.cpp.
References FilterGreatestY(), and m_numberOfPoints.
      
  | 
  inlinevirtual | 
Definition at line 105 of file filterpass.h.
Implements pappso::FilterInterface.
Definition at line 163 of file filterpass.cpp.
References pappso::a, pappso::b, and m_numberOfPoints.
Referenced by pappso::cbor::psm::PsmSpecGlob::filterMassSpectrum(), and pappso::cbor::psm::PsmSpecPeptidOms::filterMassSpectrum().
| std::size_t FilterGreatestY::getNumberOfPoints | ( | ) | const | 
Definition at line 188 of file filterpass.cpp.
References m_numberOfPoints.
| FilterGreatestY & FilterGreatestY::operator= | ( | const FilterGreatestY & | other | ) | 
Definition at line 154 of file filterpass.cpp.
References FilterGreatestY(), and m_numberOfPoints.
      
  | 
  private | 
Definition at line 114 of file filterpass.h.
Referenced by FilterGreatestY(), FilterGreatestY(), filter(), getNumberOfPoints(), and operator=().