TOFCalibration#
- class pyopenms.TOFCalibration#
Bases:
objectCython implementation of _TOFCalibration
- Original C++ documentation is available here
– Inherits from [‘DefaultParamHandler’, ‘ProgressLogger’]
- __init__()#
Overload:
- __init__(self) None
Overload:
- __init__(self, in_0: TOFCalibration) None
Methods
Overload:
calibrate(self, input, output, exp_masses)endProgress(self)Ends the progress display
getDefaults(self)Returns the default parameters
getLogType(self)Returns the type of progress log being used
getML1s(self)Returns the first calibration constant
getML2s(self)getML3s(self)getName(self)Returns the name
getParameters(self)Returns the parameters
getSubsections(self)nextProgress(self)Increment progress by 1 (according to range begin-end)
pickAndCalibrate(self, input, output, exp_masses)setLogType(self, in_0)Sets the progress log that should be used.
setML1s(self, ml1s)setML2s(self, ml2s)Returns the second calibration constant
setML3s(self, ml3s)Returns the third calibration constant
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)- calibrate(self, input: MSExperiment, output: MSExperiment, exp_masses: List[float]) None#
- endProgress(self) None#
Ends the progress display
- getLogType(self) int#
Returns the type of progress log being used
- getML1s(self) List[float]#
Returns the first calibration constant
- getML2s(self) List[float]#
- getML3s(self) List[float]#
- getSubsections(self) List[bytes]#
- nextProgress(self) None#
Increment progress by 1 (according to range begin-end)
- pickAndCalibrate(self, input: MSExperiment, output: MSExperiment, exp_masses: List[float]) None#
- setLogType(self, in_0: int) None#
Sets the progress log that should be used. The default type is NONE!
- setML1s(self, ml1s: List[float]) None#
- setML2s(self, ml2s: List[float]) None#
Returns the second calibration constant
- setML3s(self, ml3s: List[float]) None#
Returns the third calibration constant
- setProgress(self, value: int) None#
Sets the current progress