InterpolationModel#
- class pyopenms.InterpolationModel#
Bases:
objectCython implementation of _InterpolationModel
Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1InterpolationModel.html
- __init__()#
Cython signature: void InterpolationModel() Abstract class for 1D-models that are approximated using linear interpolation
Cython signature: void InterpolationModel(InterpolationModel &)
Methods
Cython signature: void InterpolationModel()
Cython signature: double getCenter() Returns the "center" of the model, particular definition (depends on the derived model)
Cython signature: double getIntensity(double coord) Access model predicted intensity at position 'pos'
Cython signature: LinearInterpolation getInterpolation() Returns the interpolation class
Cython signature: double getScalingFactor() Returns the interpolation class
Cython signature: void setInterpolationStep(double interpolation_step) Sets the interpolation step for the linear interpolation of the model
Cython signature: void setOffset(double offset) Sets the offset of the model
Cython signature: void setSamples() Sets sample/supporting points of interpolation wrt params
Cython signature: void setScalingFactor(double scaling) Sets the scaling factor of the model
- getCenter()#
Cython signature: double getCenter() Returns the “center” of the model, particular definition (depends on the derived model)
- getIntensity()#
Cython signature: double getIntensity(double coord) Access model predicted intensity at position ‘pos’
- getInterpolation()#
Cython signature: LinearInterpolation getInterpolation() Returns the interpolation class
- getScalingFactor()#
Cython signature: double getScalingFactor() Returns the interpolation class
- setInterpolationStep()#
Cython signature: void setInterpolationStep(double interpolation_step) Sets the interpolation step for the linear interpolation of the model
- setOffset()#
Cython signature: void setOffset(double offset) Sets the offset of the model
- setSamples()#
Cython signature: void setSamples() Sets sample/supporting points of interpolation wrt params
- setScalingFactor()#
Cython signature: void setScalingFactor(double scaling) Sets the scaling factor of the model