85 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:70
Comparison of mz_positions.
Definition: PeakShape.h:141
bool operator()(const PeakShape &a, const PeakShape &b)
Definition: PeakShape.h:143
Internal representation of a peak shape (used by the PeakPickerCWT)
Definition: PeakShape.h:51
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:69
@ SECH_PEAK
Definition: PeakShape.h:71
@ LORENTZ_PEAK
Definition: PeakShape.h:70
bool left_iterator_set_
flag if left endpoint iterator differs from default value
Definition: PeakShape.h:157
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:132
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:117
bool operator!=(const PeakShape &rhs) const
PeakIterator right_endpoint_
Right peak endpoint in the data.
Definition: PeakShape.h:153
MSSpectrum::const_iterator PeakIterator
Iterator to the raw data vector.
Definition: PeakShape.h:76
PeakIterator getLeftEndpoint() const
Type type
peak shape type
Definition: PeakShape.h:135
double right_width
Right width parameter.
Definition: PeakShape.h:123
MSSpectrum exp_
Needed for initialization of endpoint iterators.
Definition: PeakShape.h:155
PeakIterator left_endpoint_
Left peak endpoint in the data.
Definition: PeakShape.h:151
PeakIterator getRightEndpoint() const
void setLeftEndpoint(PeakIterator left_endpoint)
bool right_iterator_set_
flag if left endpoint iterator differs from default value
Definition: PeakShape.h:159
double r_value
Correlation coefficient.
Definition: PeakShape.h:130
double area
Area of the peak shape.
Definition: PeakShape.h:125
double left_width
Left width parameter.
Definition: PeakShape.h:121
PeakShape()
Default constructor.
double mz_position
Centroid position.
Definition: PeakShape.h:119
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48