37 #include <OpenMS/config.h> 94 double apex_pos = 0.0;
129 double width_at_5 = 0.0;
133 double width_at_10 = 0.0;
137 double width_at_50 = 0.0;
141 double start_position_at_5 = 0.0;
145 double start_position_at_10 = 0.0;
149 double start_position_at_50 = 0.0;
153 double end_position_at_5 = 0.0;
157 double end_position_at_10 = 0.0;
161 double end_position_at_50 = 0.0;
165 double total_width = 0.0;
179 double tailing_factor = 0.0;
189 double asymmetry_factor = 0.0;
194 double slope_of_baseline = 0.0;
199 double baseline_delta_2_height = 0.0;
203 Int points_across_baseline = 0;
207 Int points_across_half_height = 0;
216 static constexpr
const char* INTEGRATION_TYPE_INTENSITYSUM =
"intensity_sum";
220 static constexpr
const char* INTEGRATION_TYPE_TRAPEZOID =
"trapezoid";
222 static constexpr
const char* INTEGRATION_TYPE_SIMPSON =
"simpson";
224 static constexpr
const char* BASELINE_TYPE_BASETOBASE =
"base_to_base";
226 static constexpr
const char* BASELINE_TYPE_VERTICALDIVISION =
"vertical_division";
228 static constexpr
const char* BASELINE_TYPE_VERTICALDIVISION_MIN =
"vertical_division_min";
230 static constexpr
const char* BASELINE_TYPE_VERTICALDIVISION_MAX =
"vertical_division_max";
252 const MSChromatogram& chromatogram,
const double left,
const double right
296 const MSSpectrum& spectrum,
const double left,
const double right
346 const MSChromatogram& chromatogram,
const double left,
const double right,
347 const double peak_apex_pos
376 const double peak_apex_pos
404 const MSSpectrum& spectrum,
const double left,
const double right,
405 const double peak_apex_pos
434 const double peak_apex_pos
457 const MSChromatogram& chromatogram,
const double left,
const double right,
458 const double peak_height,
const double peak_apex_pos
482 const double peak_height,
const double peak_apex_pos
505 const MSSpectrum& spectrum,
const double left,
const double right,
506 const double peak_height,
const double peak_apex_pos
530 const double peak_height,
const double peak_apex_pos
533 void getDefaultParameters(
Param& params);
536 void updateMembers_();
538 template <
typename PeakContainerT>
540 const PeakContainerT& pc,
double left,
double right
543 template <
typename PeakContainerT>
545 const PeakContainerT& pc,
double left,
double right,
546 const double peak_apex_pos
549 template <
typename PeakContainerConstIteratorT>
550 double simpson_(PeakContainerConstIteratorT it_begin, PeakContainerConstIteratorT it_end)
const;
552 template <
typename PeakContainerT>
554 const PeakContainerT& pc,
double left,
double right,
555 const double peak_height,
const double peak_apex_pos
577 template <
typename PeakContainerConstIteratorT>
578 double findPosAtPeakHeightPercent_(
579 PeakContainerConstIteratorT it_begin,
580 PeakContainerConstIteratorT it_end,
581 const double peak_height,
582 const double percent,
583 const bool is_left_half
596 String integration_type_ = INTEGRATION_TYPE_INTENSITYSUM;
601 String baseline_type_ = BASELINE_TYPE_BASETOBASE;
659 template <
typename PeakContainerT>
660 const PeakContainerT& EMGPreProcess_(
661 const PeakContainerT& pc,
662 PeakContainerT& emg_pc,
A more convenient string class.
Definition: String.h:57
The representation of a chromatogram.
Definition: MSChromatogram.h:54
Compute the area, background and shape metrics of a peak.
Definition: EmgGradientDescent.h:64
std::vector< PointType > PointArrayType
Definition: ConvexHull2D.h:76
Definition: PeakIntegrator.h:106
ContainerType::const_iterator ConstIterator
Non-mutable iterator.
Definition: MSSpectrum.h:103
EmgGradientDescent emg_
Definition: PeakIntegrator.h:606
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
ContainerType::const_iterator ConstIterator
Non-mutable iterator.
Definition: MSChromatogram.h:93
The representation of a 1D spectrum.
Definition: MSSpectrum.h:66
ConvexHull2D::PointArrayType hull_points
Definition: PeakIntegrator.h:98
Management and storage of parameters / INI files.
Definition: Param.h:74
Definition: PeakIntegrator.h:124
Compute the area, background and shape metrics of a peak.
Definition: PeakIntegrator.h:68
Definition: PeakIntegrator.h:81
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:91
int Int
Signed integer type.
Definition: Types.h:102
bool fit_EMG_
Enable/disable EMG peak model fitting.
Definition: PeakIntegrator.h:605