PeakPickerCWT#

class pyopenms.PeakPickerCWT#

Bases: object

Cython implementation of _PeakPickerCWT

Original C++ documentation is available here

– Inherits from [‘DefaultParamHandler’, ‘ProgressLogger’]

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, in_0: PeakPickerCWT) None

Methods

__init__

Overload:

endProgress(self)

Ends the progress display

estimatePeakWidth(self, input)

Estimates average peak width that can then be used for peak picking

getDefaults(self)

Returns the default parameters

getLogType(self)

Returns the type of progress log being used

getName(self)

Returns the name

getParameters(self)

Returns the parameters

getSubsections(self)

nextProgress(self)

Increment progress by 1 (according to range begin-end)

pick(self, input, output)

Applies the peak picking algorithm to a single spectrum

pickExperiment(self, input, output)

Picks the peaks in an MSExperiment

setLogType(self, in_0)

Sets the progress log that should be used.

setName(self, in_0)

Sets the name

setParameters(self, param)

Sets the parameters

setProgress(self, value)

Sets the current progress

startProgress(self, begin, end, label)

endProgress(self) None#

Ends the progress display

estimatePeakWidth(self, input: MSExperiment) float#

Estimates average peak width that can then be used for peak picking

The spectra with the highest TICs are used to estimate an average peak width that can be used as the peak_width parameter for picking the complete data set. Typically, the number of peaks increases with decreasing peak width until a plateau is reached. The beginning of this plateau is our estimate for the peak width. This estimate is averaged over several spectra

getDefaults(self) Param#

Returns the default parameters

getLogType(self) int#

Returns the type of progress log being used

getName(self) bytes | str | String#

Returns the name

getParameters(self) Param#

Returns the parameters

getSubsections(self) List[bytes]#
nextProgress(self) None#

Increment progress by 1 (according to range begin-end)

pick(self, input: MSSpectrum, output: MSSpectrum) None#

Applies the peak picking algorithm to a single spectrum

Picks the peaks in the input spectrum and writes the resulting peaks to the output container

pickExperiment(self, input: MSExperiment, output: MSExperiment) None#

Picks the peaks in an MSExperiment

Picks the peaks successive in every scan in the spectrum range. The detected peaks are stored in the output MSExperiment

setLogType(self, in_0: int) None#

Sets the progress log that should be used. The default type is NONE!

setName(self, in_0: bytes | str | String) None#

Sets the name

setParameters(self, param: Param) None#

Sets the parameters

setProgress(self, value: int) None#

Sets the current progress

startProgress(self, begin: int, end: int, label: bytes | str | String) None#