libpappsomspp
Library for mass spectrometry
|
#include <tracedetectionmoulon.h>
Public Member Functions | |
TraceDetectionMoulon (unsigned int smoothing_half_window_length, pappso_double tic_start, pappso_double tic_stop) | |
TraceDetectionMoulon (const TraceDetectionMoulon &other) | |
virtual | ~TraceDetectionMoulon () |
void | setFilterMorphoMean (const FilterMorphoMean &smooth) |
void | setTicStart (double tic_start) |
void | setTicStop (double tic_stop) |
unsigned int | getSmoothingHalfEdgeWindows () const |
pappso_double | getTicStart () const |
pappso_double | getTicStop () const |
void | detect (const Trace &xic, TraceDetectionSinkInterface &sink, bool remove_peak_base) const override |
detect peaks on a trace More... | |
Private Attributes | |
FilterMorphoMean | m_xicFilterSmoothing |
pappso_double | m_ticStart |
pappso_double | m_ticStop |
Definition at line 34 of file tracedetectionmoulon.h.
pappso::TraceDetectionMoulon::TraceDetectionMoulon | ( | unsigned int | smoothing_half_window_length, |
pappso_double | tic_start, | ||
pappso_double | tic_stop | ||
) |
Definition at line 28 of file tracedetectionmoulon.cpp.
References m_ticStart, and m_ticStop.
pappso::TraceDetectionMoulon::TraceDetectionMoulon | ( | const TraceDetectionMoulon & | other | ) |
|
virtual |
Definition at line 45 of file tracedetectionmoulon.cpp.
|
overridevirtual |
detect peaks on a trace
trace | the trace to detect peaks on |
sink | the object to store peaks or stream it |
remove_peak_base | if true, removes the area under the base of the peak |
Implements pappso::TraceDetectionInterface.
Definition at line 86 of file tracedetectionmoulon.cpp.
References pappso::FilterMorphoWindowBase::filter(), m_ticStart, m_ticStop, m_xicFilterSmoothing, and pappso::TraceDetectionSinkInterface::setTracePeak().
unsigned int pappso::TraceDetectionMoulon::getSmoothingHalfEdgeWindows | ( | ) | const |
Definition at line 68 of file tracedetectionmoulon.cpp.
References pappso::FilterMorphoMean::getMeanHalfEdgeWindows(), and m_xicFilterSmoothing.
pappso_double pappso::TraceDetectionMoulon::getTicStart | ( | ) | const |
Definition at line 74 of file tracedetectionmoulon.cpp.
References m_ticStart.
pappso_double pappso::TraceDetectionMoulon::getTicStop | ( | ) | const |
Definition at line 80 of file tracedetectionmoulon.cpp.
References m_ticStop.
void pappso::TraceDetectionMoulon::setFilterMorphoMean | ( | const FilterMorphoMean & | smooth | ) |
Definition at line 51 of file tracedetectionmoulon.cpp.
References m_xicFilterSmoothing.
void pappso::TraceDetectionMoulon::setTicStart | ( | double | tic_start | ) |
Definition at line 57 of file tracedetectionmoulon.cpp.
References m_ticStart.
void pappso::TraceDetectionMoulon::setTicStop | ( | double | tic_stop | ) |
Definition at line 62 of file tracedetectionmoulon.cpp.
References m_ticStop.
|
private |
Definition at line 38 of file tracedetectionmoulon.h.
Referenced by TraceDetectionMoulon(), detect(), getTicStart(), and setTicStart().
|
private |
Definition at line 39 of file tracedetectionmoulon.h.
Referenced by TraceDetectionMoulon(), detect(), getTicStop(), and setTicStop().
|
private |
Definition at line 37 of file tracedetectionmoulon.h.
Referenced by detect(), getSmoothingHalfEdgeWindows(), and setFilterMorphoMean().