TOFCalibration#

class pyopenms.TOFCalibration#

Bases: object

Cython implementation of _TOFCalibration

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

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

__init__()#
  • Cython signature: void TOFCalibration()

  • Cython signature: void TOFCalibration(TOFCalibration &)

Methods

__init__

  • Cython signature: void TOFCalibration()

calibrate

Cython signature: void calibrate(MSExperiment & input, MSExperiment & output, libcpp_vector[double] & exp_masses)

endProgress

Cython signature: void endProgress() Ends the progress display

getDefaults

Cython signature: Param getDefaults() Returns the default parameters

getLogType

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

getML1s

Cython signature: libcpp_vector[double] getML1s() Returns the first calibration constant

getML2s

Cython signature: libcpp_vector[double] getML2s()

getML3s

Cython signature: libcpp_vector[double] getML3s()

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)

pickAndCalibrate

Cython signature: void pickAndCalibrate(MSExperiment & input, MSExperiment & output, libcpp_vector[double] & exp_masses)

setLogType

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

setML1s

Cython signature: void setML1s(libcpp_vector[double] & ml1s)

setML2s

Cython signature: void setML2s(libcpp_vector[double] & ml2s) Returns the second calibration constant

setML3s

Cython signature: void setML3s(libcpp_vector[double] & ml3s) Returns the third calibration constant

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)

calibrate()#

Cython signature: void calibrate(MSExperiment & input, MSExperiment & output, libcpp_vector[double] & exp_masses)

endProgress()#

Cython signature: void endProgress() Ends the progress display

getDefaults()#

Cython signature: Param getDefaults() Returns the default parameters

getLogType()#

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

getML1s()#

Cython signature: libcpp_vector[double] getML1s() Returns the first calibration constant

getML2s()#

Cython signature: libcpp_vector[double] getML2s()

getML3s()#

Cython signature: libcpp_vector[double] getML3s()

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)

pickAndCalibrate()#

Cython signature: void pickAndCalibrate(MSExperiment & input, MSExperiment & output, libcpp_vector[double] & exp_masses)

setLogType()#

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

setML1s()#

Cython signature: void setML1s(libcpp_vector[double] & ml1s)

setML2s()#

Cython signature: void setML2s(libcpp_vector[double] & ml2s) Returns the second calibration constant

setML3s()#

Cython signature: void setML3s(libcpp_vector[double] & ml3s) Returns the third calibration constant

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)