59 PeakShape(
double height_,
double mz_position_,
double left_width_,
double right_width_,
double area_,
Type type_);
The representation of a 1D spectrum.
Definition: MSSpectrum.h:44
Comparison of mz_positions.
Definition: PeakShape.h:115
bool operator()(const PeakShape &a, const PeakShape &b)
Definition: PeakShape.h:117
Internal representation of a peak shape (used by the PeakPickerCWT)
Definition: PeakShape.h:25
double getSymmetricMeasure() const
Computes symmetry measure of the peak shape, which is corresponds to the ratio of the left and right ...
PeakShape(double height_, double mz_position_, double left_width_, double right_width_, double area_, PeakIterator left_, PeakIterator right_, Type type_)
Constructor that sets most of the members.
PeakShape(double height_, double mz_position_, double left_width_, double right_width_, double area_, Type type_)
Constructor that sets most of the members.
Type
Peak shape type (asymmetric Lorentzian or asymmetric hyperbolic secans squared).
Definition: PeakShape.h:43
@ SECH_PEAK
Definition: PeakShape.h:45
@ LORENTZ_PEAK
Definition: PeakShape.h:44
bool left_iterator_set_
flag if left endpoint iterator differs from default value
Definition: PeakShape.h:131
bool iteratorsSet() const
Check if endpoint iterators are provided.
double getFWHM() const
Estimates the full width at half maximum.
void setRightEndpoint(PeakIterator right_endpoint)
bool operator==(const PeakShape &rhs) const
double signal_to_noise
The signal to noise ratio at the mz_position.
Definition: PeakShape.h:106
double operator()(double x) const
Compute the intensity of the peaks shape at position x.
PeakShape & operator=(const PeakShape &rhs)
Assignment operator.
PeakShape(const PeakShape &rhs)
Copy constructor.
virtual ~PeakShape()
Destructor.
double height
Maximum intensity of the peak shape.
Definition: PeakShape.h:91
bool operator!=(const PeakShape &rhs) const
PeakIterator right_endpoint_
Right peak endpoint in the data.
Definition: PeakShape.h:127
MSSpectrum::const_iterator PeakIterator
Iterator to the raw data vector.
Definition: PeakShape.h:50
PeakIterator getLeftEndpoint() const
Type type
peak shape type
Definition: PeakShape.h:109
double right_width
Right width parameter.
Definition: PeakShape.h:97
MSSpectrum exp_
Needed for initialization of endpoint iterators.
Definition: PeakShape.h:129
PeakIterator left_endpoint_
Left peak endpoint in the data.
Definition: PeakShape.h:125
PeakIterator getRightEndpoint() const
void setLeftEndpoint(PeakIterator left_endpoint)
bool right_iterator_set_
flag if left endpoint iterator differs from default value
Definition: PeakShape.h:133
double r_value
Correlation coefficient.
Definition: PeakShape.h:104
double area
Area of the peak shape.
Definition: PeakShape.h:99
double left_width
Left width parameter.
Definition: PeakShape.h:95
PeakShape()
Default constructor.
double mz_position
Centroid position.
Definition: PeakShape.h:93
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22