libpappsomspp
Library for mass spectrometry
|
#include <filterpseudocentroid.h>
Public Member Functions | |
FilterPseudoCentroid (double resolution, double smoothwidth=2., double integrationWidth=4, double intensityThreshold=10., bool area=true, uint32_t maxnumberofpeaks=0) | |
FilterPseudoCentroid (const FilterPseudoCentroid &other) | |
~FilterPseudoCentroid () | |
Trace & | filter (Trace &data_points) const override |
Private Attributes | |
double | m_resolution |
instrument resolution More... | |
double | m_smoothwidth = 2. |
smoothwidth More... | |
double | m_integrationWidth = 4 |
double | m_intensityThreshold = 10. |
integration width More... | |
bool | m_area = true |
do you want to store are or intensity More... | |
uint32_t | m_maxnumberofpeaks = 0 |
max number of peaks returned by picker More... | |
Definition at line 40 of file filterpseudocentroid.h.
FilterPseudoCentroid::FilterPseudoCentroid | ( | double | resolution, |
double | smoothwidth = 2. , |
||
double | integrationWidth = 4 , |
||
double | intensityThreshold = 10. , |
||
bool | area = true , |
||
uint32_t | maxnumberofpeaks = 0 |
||
) |
Default constructor
< instrument resolution
< smoothwidth
integration width
< do you want to store are or intensity
< max number of peaks returned by picker
resolution | instrument resolution |
smoothwidth | smoothwidth |
intensityThreshold | integration width |
area | do you want to store are or intensity |
maxnumberofpeaks | max number of peaks returned by picker |
Definition at line 34 of file filterpseudocentroid.cpp.
References m_area, m_integrationWidth, m_intensityThreshold, m_maxnumberofpeaks, m_resolution, and m_smoothwidth.
FilterPseudoCentroid::FilterPseudoCentroid | ( | const FilterPseudoCentroid & | other | ) |
Copy constructor
other | TODO |
< instrument resolution
< smoothwidth
integration width
< do you want to store are or intensity
< max number of peaks returned by picker
Definition at line 51 of file filterpseudocentroid.cpp.
References m_area, m_integrationWidth, m_intensityThreshold, m_maxnumberofpeaks, m_resolution, and m_smoothwidth.
FilterPseudoCentroid::~FilterPseudoCentroid | ( | ) |
Implements pappso::FilterInterface.
Definition at line 67 of file filterpseudocentroid.cpp.
References ralab::base::ms::PeakPicker< TReal, TIntegrator >::getPeakArea(), ralab::base::ms::PeakPicker< TReal, TIntegrator >::getPeakMass(), m_area, m_integrationWidth, m_intensityThreshold, m_maxnumberofpeaks, m_resolution, m_smoothwidth, pappso::Trace::xValues(), and pappso::Trace::yValues().
|
private |
do you want to store are or intensity
Definition at line 75 of file filterpseudocentroid.h.
Referenced by FilterPseudoCentroid(), and filter().
|
private |
Definition at line 73 of file filterpseudocentroid.h.
Referenced by FilterPseudoCentroid(), and filter().
|
private |
integration width
Definition at line 74 of file filterpseudocentroid.h.
Referenced by FilterPseudoCentroid(), and filter().
|
private |
max number of peaks returned by picker
Definition at line 76 of file filterpseudocentroid.h.
Referenced by FilterPseudoCentroid(), and filter().
|
private |
instrument resolution
Definition at line 71 of file filterpseudocentroid.h.
Referenced by FilterPseudoCentroid(), and filter().
|
private |
smoothwidth
Definition at line 72 of file filterpseudocentroid.h.
Referenced by FilterPseudoCentroid(), and filter().