42 #define DEBUG_PEAK_PICKING
43 #undef DEBUG_PEAK_PICKING
48 class OnDiscMSExperiment;
156 std::vector<std::vector<PeakBoundary> >& boundaries_spec,
157 std::vector<std::vector<PeakBoundary> >& boundaries_chrom,
158 const bool check_spectrum_type =
true)
const;
171 template <
typename ContainerType>
172 void pick_(
const ContainerType& input, ContainerType& output, std::vector<PeakBoundary>& boundaries,
bool check_spacings =
true)
const;
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:93
The representation of a chromatogram.
Definition: MSChromatogram.h:58
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:80
The representation of a 1D spectrum.
Definition: MSSpectrum.h:71
Representation of a mass spectrometry experiment on disk.
Definition: OnDiscMSExperiment.h:69
This class implements a fast peak-picking algorithm best suited for high resolution MS data (FT-ICR-M...
Definition: PeakPickerHiRes.h:76
void pick(const MSSpectrum &input, MSSpectrum &output) const
Applies the peak-picking algorithm to a single spectrum (MSSpectrum). The resulting picked peaks are ...
unsigned missing_
Definition: PeakPickerHiRes.h:184
double spacing_difference_
Definition: PeakPickerHiRes.h:181
double signal_to_noise_
Definition: PeakPickerHiRes.h:175
double spacing_difference_gap_
Definition: PeakPickerHiRes.h:178
bool report_FWHM_
add floatDataArray 'FWHM'/'FWHM_ppm' to spectra with peak FWHM
Definition: PeakPickerHiRes.h:190
~PeakPickerHiRes() override
Destructor.
std::vector< Int > ms_levels_
Definition: PeakPickerHiRes.h:187
double mz_max
Definition: PeakPickerHiRes.h:88
PeakPickerHiRes()
Constructor.
void pick(const MSSpectrum &input, MSSpectrum &output, std::vector< PeakBoundary > &boundaries, bool check_spacings=true) const
Applies the peak-picking algorithm to a single spectrum (MSSpectrum). The resulting picked peaks are ...
void pick(const MSChromatogram &input, MSChromatogram &output) const
Applies the peak-picking algorithm to a single chromatogram (MSChromatogram). The resulting picked pe...
double mz_min
Definition: PeakPickerHiRes.h:87
void pick(const MSChromatogram &input, MSChromatogram &output, std::vector< PeakBoundary > &boundaries, bool check_spacings=false) const
Applies the peak-picking algorithm to a single chromatogram (MSChromatogram). The resulting picked pe...
bool report_FWHM_as_ppm_
unit of 'FWHM' float data array (can be absolute or ppm).
Definition: PeakPickerHiRes.h:193
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
void pick_(const ContainerType &input, ContainerType &output, std::vector< PeakBoundary > &boundaries, bool check_spacings=true) const
void pickExperiment(OnDiscMSExperiment &input, PeakMap &output, const bool check_spectrum_type=true) const
Applies the peak-picking algorithm to a map (MSExperiment). This method picks peaks for each scan in ...
void pickExperiment(const PeakMap &input, PeakMap &output, std::vector< std::vector< PeakBoundary > > &boundaries_spec, std::vector< std::vector< PeakBoundary > > &boundaries_chrom, const bool check_spectrum_type=true) const
Applies the peak-picking algorithm to a map (MSExperiment). This method picks peaks for each scan in ...
void pickExperiment(const PeakMap &input, PeakMap &output, const bool check_spectrum_type=true) const
Applies the peak-picking algorithm to a map (MSExperiment). This method picks peaks for each scan in ...
structure for peak boundaries
Definition: PeakPickerHiRes.h:86
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:55
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47