SignalToNoiseEstimatorMedianRapid#
- class pyopenms.SignalToNoiseEstimatorMedianRapid#
Bases:
objectEstimates the signal/noise (S/N) ratio of each data point in a scan by using the median (window based)
- __init__(arg: float, /) None#
Methods
__init__(arg, /)estimateNoise(spectrum)- class NoiseEstimator#
Bases:
objectNoise values per m/z window as computed by SignalToNoiseEstimatorMedianRapid.estimateNoise()
The noise is stored for two sets of windows that are offset by half a window length; get_noise_value() averages both.
- get_noise_even(mz: float) float#
Returns the noise value at m/z from the even (non-offset) windows
- get_noise_odd(mz: float) float#
Returns the noise value at m/z from the odd (half-window offset) windows
- get_noise_value(mz: float) float#
Returns the noise value at m/z (the average of both window sets, at least 1)
- property mz_start: float#
- property nr_windows: int#
- property result_windows_even: list[float]#
- property result_windows_odd: list[float]#
- property window_length: float#
- estimateNoise(spectrum: pyopenms.Spectrum) pyopenms.SignalToNoiseEstimatorMedianRapid.NoiseEstimator#
- estimateNoise(chrom: pyopenms.Chromatogram) pyopenms.SignalToNoiseEstimatorMedianRapid.NoiseEstimator
- estimateNoise(mz_array: collections.abc.Sequence[float], int_array: collections.abc.Sequence[float]) pyopenms.SignalToNoiseEstimatorMedianRapid.NoiseEstimator