![]() |
OpenMS
|
Rough estimation of the peak width at m/z. More...
#include <OpenMS/TRANSFORMATIONS/FEATUREFINDER/PeakWidthEstimator.h>
Public Member Functions | |
| PeakWidthEstimator (const PeakMap &exp_picked, const std::vector< std::vector< PeakPickerHiRes::PeakBoundary > > &boundaries) | |
| constructor More... | |
| double | getPeakWidth (double mz) |
| returns the estimated peak width at m/z More... | |
| virtual | ~PeakWidthEstimator () |
| destructor More... | |
Private Member Functions | |
| PeakWidthEstimator () | |
| hide default constructor More... | |
Private Attributes | |
| BSpline2d * | bspline_ |
| B-spline for peak width interpolation. More... | |
| double | mz_min_ |
| m/z range of peak width interpolation More... | |
| double | mz_max_ |
Rough estimation of the peak width at m/z.
Based on the peaks of the dataset (peak position & width) and the peak boundaries as reported by the PeakPickerHiRes, the typical peak width is estimated for arbitrary m/z using a spline interpolation.
| PeakWidthEstimator | ( | const PeakMap & | exp_picked, |
| const std::vector< std::vector< PeakPickerHiRes::PeakBoundary > > & | boundaries | ||
| ) |
constructor
| exp_picked | m/z positions of picked peaks |
| boundaries | corresponding peak widths |
| Exception::UnableToFit | if the B-spline initialisation fails. |
|
virtual |
destructor
|
private |
hide default constructor
| double getPeakWidth | ( | double | mz | ) |
returns the estimated peak width at m/z
| Exception::InvalidValue | if the peak width estimation returns a negative value. |
|
private |
B-spline for peak width interpolation.
|
private |
|
private |
m/z range of peak width interpolation