MorphologicalFilter

class pyopenms.MorphologicalFilter

Bases: object

Cython implementation of _MorphologicalFilter

Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1MorphologicalFilter.html

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

__init__()

Cython signature: void MorphologicalFilter()

Methods

__init__

Cython signature: void MorphologicalFilter()

endProgress

Cython signature: void endProgress() Ends the progress display

filter

Cython signature: void filter(MSSpectrum & spectrum)

filterExperiment

Cython signature: void filterExperiment(MSExperiment & exp)

getDefaults

Cython signature: Param getDefaults() Returns the default parameters

getLogType

Cython signature: LogType getLogType() Returns the type of progress log being used

getName

Cython signature: String getName() Returns the name

getParameters

Cython signature: Param getParameters() Returns the parameters

getSubsections

Cython signature: libcpp_vector[String] getSubsections()

nextProgress

Cython signature: void nextProgress() Increment progress by 1 (according to range begin-end)

setLogType

Cython signature: void setLogType(LogType) Sets the progress log that should be used.

setName

Cython signature: void setName(const String &) Sets the name

setParameters

Cython signature: void setParameters(Param & param) Sets the parameters

setProgress

Cython signature: void setProgress(ptrdiff_t value) Sets the current progress

startProgress

Cython signature: void startProgress(ptrdiff_t begin, ptrdiff_t end, String label)

endProgress()

Cython signature: void endProgress() Ends the progress display

filter()

Cython signature: void filter(MSSpectrum & spectrum)

If the size of the structuring element is given in ‘Thomson’, the number of data points for the structuring element is computed as follows:

filterExperiment()

Cython signature: void filterExperiment(MSExperiment & exp)

The size of the structuring element is computed for each spectrum individually, if it is given in ‘Thomson’ See the filtering method for MSSpectrum for details

getDefaults()

Cython signature: Param getDefaults() Returns the default parameters

getLogType()

Cython signature: LogType getLogType() Returns the type of progress log being used

getName()

Cython signature: String getName() Returns the name

getParameters()

Cython signature: Param getParameters() Returns the parameters

getSubsections()

Cython signature: libcpp_vector[String] getSubsections()

nextProgress()

Cython signature: void nextProgress() Increment progress by 1 (according to range begin-end)

setLogType()

Cython signature: void setLogType(LogType) Sets the progress log that should be used. The default type is NONE!

setName()

Cython signature: void setName(const String &) Sets the name

setParameters()

Cython signature: void setParameters(Param & param) Sets the parameters

setProgress()

Cython signature: void setProgress(ptrdiff_t value) Sets the current progress

startProgress()

Cython signature: void startProgress(ptrdiff_t begin, ptrdiff_t end, String label)