36 #ifndef OPENMS_TRANSFORMATIONS_RAW2PEAK_PEAKSHAPE_H
37 #define OPENMS_TRANSFORMATIONS_RAW2PEAK_PEAKSHAPE_H
89 left_endpoint_ = exp_.end();
90 right_endpoint_ = exp_.end();
112 bool operator==(
const PeakShape & rhs)
const;
114 bool operator!=(
const PeakShape & rhs)
const;
123 bool iteratorsSet()
const;
Internal representation of a peak shape (used by the PeakPickerCWT)
Definition: PeakShape.h:51
virtual ~PeakShape()
Destructor.
Definition: PeakShape.h:104
Comparison of mz_positions.
Definition: PeakShape.h:154
DoubleReal height
Maximum intensity of the peak shape.
Definition: PeakShape.h:131
MSSpectrum exp_
Needed for initialisation of endpoint iterators.
Definition: PeakShape.h:170
RawDataVector::iterator PeakIterator
Raw data iterator type.
Definition: OptimizePick.h:61
bool left_iterator_set_
flag if left endpoint iterator differs from default value
Definition: PeakShape.h:172
PeakShape()
Default constructor.
Definition: PeakShape.h:79
bool right_iterator_set_
flag if left endpoint iterator differs from default value
Definition: PeakShape.h:174
The representation of a 1D spectrum.
Definition: MSSpectrum.h:67
Type
Peak shape type (asymmetric lorentzian or asymmetric hyperbolic secans squared).
Definition: PeakShape.h:68
PeakIterator right_endpoint_
Right peak endpoint in the data.
Definition: PeakShape.h:168
Definition: PeakShape.h:70
DoubleReal right_width
Right width parameter.
Definition: PeakShape.h:137
Type type
peak shape type
Definition: PeakShape.h:149
DoubleReal area
Area of the peak shape.
Definition: PeakShape.h:139
MSSpectrum::const_iterator PeakIterator
Iterator to the raw data vector.
Definition: PeakShape.h:76
bool operator()(const PeakShape &a, const PeakShape &b)
Definition: PeakShape.h:158
DoubleReal left_width
Left width parameter.
Definition: PeakShape.h:135
Definition: PeakShape.h:71
PeakIterator left_endpoint_
Left peak endpoint in the data.
Definition: PeakShape.h:166
DoubleReal signal_to_noise
The signal to noise ratio at the mz_position.
Definition: PeakShape.h:146
DoubleReal r_value
Correlation coefficient.
Definition: PeakShape.h:144
DoubleReal mz_position
Centroid position.
Definition: PeakShape.h:133