OpenMS
2.6.0
|
Class to compute the noise value at a given position. More...
#include <OpenMS/FILTERING/NOISEESTIMATION/SignalToNoiseEstimatorMedianRapid.h>
Public Member Functions | |
NoiseEstimator () | |
Constructor. More... | |
NoiseEstimator (double nr_windows_, double mz_start_, double win_len_) | |
Constructor. More... | |
double | get_noise_value (double mz) |
Return the noise value at a given m/z position. More... | |
double | get_noise_even (double mz) |
double | get_noise_odd (double mz) |
Public Attributes | |
int | nr_windows |
Number of windows in m/z direction for which noise values are stored. More... | |
double | mz_start |
Start of m/z domain. More... | |
double | window_length |
Length of the window in m/z direction. More... | |
std::vector< double > | result_windows_even |
Noise values for window starting at mz_start (length = nr_windows) More... | |
std::vector< double > | result_windows_odd |
Noise values for window starting at mz_start - 0.5 * window_length (length = nr_windows + 1) More... | |
Class to compute the noise value at a given position.
This class implements a method to obtain the noise value at any given m/z position. For a median based noise estimator, the noise at position m/z is given by the median intensity in a window around this position. This noise estimator has median estimates for a set of precomputed windows and retrieves the appropriate noise value from the closest window. To lower errors at the bin borders, two noise binning values are provided (for a set of windows offset by 1/2 of the window width) and the reported value is the average of these two values.
|
inline |
Constructor.
|
inline |
Constructor.
Return the noise value at a given m/z position.
Will return the noise value at a given m/z position.
double mz_start |
Start of m/z domain.
int nr_windows |
Number of windows in m/z direction for which noise values are stored.
std::vector<double> result_windows_even |
Noise values for window starting at mz_start (length = nr_windows)
Referenced by SignalToNoiseEstimatorMedianRapid::estimateNoise().
std::vector<double> result_windows_odd |
Noise values for window starting at mz_start - 0.5 * window_length (length = nr_windows + 1)
Referenced by SignalToNoiseEstimatorMedianRapid::estimateNoise().
double window_length |
Length of the window in m/z direction.