ElutionPeakDetection#
- class pyopenms.ElutionPeakDetection#
Bases:
DefaultParamHandlerExtracts chromatographic peaks from a mass trace
- __init__() None#
- __init__(arg: pyopenms.ElutionPeakDetection, /) None
Methods
__init__()computeApexSNR(trace)Compute the signal to noise ratio at the apex (estimated by computeMassTraceNoise)
computeMassTraceNoise(trace)Compute noise level (as RMSE of the actual signal and the smoothed signal)
computeMassTraceSNR(trace)Compute the signal to noise ratio (estimated by computeMassTraceNoise)
detectPeaks(mt)endProgress([bytes_processed])Ends the progress display
filterByPeakWidth(mt_vec)findLocalExtrema(tr, num_neighboring_peaks)Returns the default parameters
Returns the type of progress log being used
getName()Returns the name
Returns the parameters
Increment progress by 1 (according to range begin-end)
setLogType(type)Sets the progress log that should be used.
setName(name)Sets the name
setParameters(param)Sets the parameters
setProgress(value)Sets the current progress
smoothData(mt, win_size)startProgress(begin, end, label)- computeApexSNR(trace: pyopenms.MassTrace) float#
Compute the signal to noise ratio at the apex (estimated by computeMassTraceNoise)
- computeMassTraceNoise(trace: pyopenms.MassTrace) float#
Compute noise level (as RMSE of the actual signal and the smoothed signal)
- computeMassTraceSNR(trace: pyopenms.MassTrace) float#
Compute the signal to noise ratio (estimated by computeMassTraceNoise)
- detectPeaks(mt: pyopenms.MassTrace) list[pyopenms.MassTrace]#
- detectPeaks(mt_vec: collections.abc.Sequence[pyopenms.MassTrace]) list[pyopenms.MassTrace]
- endProgress(bytes_processed: int = 0) None#
Ends the progress display
- filterByPeakWidth(mt_vec: collections.abc.Sequence[pyopenms.MassTrace]) list[pyopenms.MassTrace]#
- findLocalExtrema(tr: pyopenms.MassTrace, num_neighboring_peaks: int) tuple[list[int], list[int]]#
- getDefaults() pyopenms.Param#
Returns the default parameters
- getLogType() pyopenms.ProgressLogger.LogType#
Returns the type of progress log being used
- getName() str#
Returns the name
- getParameters() pyopenms.Param#
Returns the parameters
- getSubsections() list[str]#
- nextProgress() None#
Increment progress by 1 (according to range begin-end)
- setLogType(type: pyopenms.ProgressLogger.LogType) None#
Sets the progress log that should be used. The default type is NONE!
- setName(name: str) None#
Sets the name
- setParameters(param: pyopenms.Param) None#
Sets the parameters
- setProgress(value: int) None#
Sets the current progress
- smoothData(mt: pyopenms.MassTrace, win_size: int) None#
- startProgress(begin: int, end: int, label: str) None#