106 void detectPeaks(std::vector<MassTrace>& mt_vec, std::vector<MassTrace>& single_mtraces);
145 std::vector<Size>& chrom_maxes, std::vector<Size>& chrom_mins);
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:93
Extracts chromatographic peaks from a mass trace.
Definition: ElutionPeakDetection.h:78
double computeApexSNR(const MassTrace &)
Compute the signal to noise ratio at the apex (estimated by computeMassTraceNoise)
bool mt_snr_filtering_
Whether to apply S/N filtering.
Definition: ElutionPeakDetection.h:164
void detectElutionPeaks_(MassTrace &, std::vector< MassTrace > &)
Main function to do the work.
double chrom_peak_snr_
Definition: ElutionPeakDetection.h:155
double max_fwhm_
Definition: ElutionPeakDetection.h:158
void detectPeaks(std::vector< MassTrace > &mt_vec, std::vector< MassTrace > &single_mtraces)
Extracts chromatographic peaks from multiple MassTraces and stores the resulting split traces in a ve...
String pw_filtering_
Type of width filtering.
Definition: ElutionPeakDetection.h:161
void detectPeaks(MassTrace &mt, std::vector< MassTrace > &single_mtraces)
Extracts chromatographic peaks from a single MassTrace and stores the resulting split traces in a vec...
void smoothData(MassTrace &mt, int win_size) const
adds smoothed_intensities to internal data of mt
double min_fwhm_
Definition: ElutionPeakDetection.h:157
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
double computeMassTraceSNR(const MassTrace &)
Compute the signal to noise ratio (estimated by computeMassTraceNoise)
ElutionPeakDetection()
Default Constructor.
void findLocalExtrema(const MassTrace &tr, const Size &num_neighboring_peaks, std::vector< Size > &chrom_maxes, std::vector< Size > &chrom_mins)
Computes local extrema on a mass trace.
double computeMassTraceNoise(const MassTrace &)
Compute noise level (as RMSE of the actual signal and the smoothed signal)
double chrom_fwhm_
Definition: ElutionPeakDetection.h:154
~ElutionPeakDetection() override
Destructor.
void filterByPeakWidth(std::vector< MassTrace > &, std::vector< MassTrace > &)
Filter out mass traces below lower 5 % quartile and above upper 95 % quartile.
A container type that gathers peaks similar in m/z and moving along retention time.
Definition: MassTrace.h:62
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:55
A more convenient string class.
Definition: String.h:61
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47