InterpolationModel

class pyopenms.InterpolationModel

Bases: object

Cython implementation of _InterpolationModel

Original C++ documentation is available here

__init__()

Overload:

__init__(self) None

Abstract class for 1D-models that are approximated using linear interpolation

Overload:

__init__(self, in_0: InterpolationModel) None

Methods

__init__

Overload:

getCenter(self)

Returns the "center" of the model, particular definition (depends on the derived model)

getIntensity(self, coord)

Access model predicted intensity at position 'pos'

getInterpolation(self)

Returns the interpolation class

getScalingFactor(self)

Returns the interpolation class

setInterpolationStep(self, interpolation_step)

Sets the interpolation step for the linear interpolation of the model

setOffset(self, offset)

Sets the offset of the model

setSamples(self)

Sets sample/supporting points of interpolation wrt params

setScalingFactor(self, scaling)

Sets the scaling factor of the model

getCenter(self) float

Returns the “center” of the model, particular definition (depends on the derived model)

getIntensity(self, coord: float) float

Access model predicted intensity at position ‘pos’

getInterpolation(self) LinearInterpolation

Returns the interpolation class

getScalingFactor(self) float

Returns the interpolation class

setInterpolationStep(self, interpolation_step: float) None

Sets the interpolation step for the linear interpolation of the model

setOffset(self, offset: float) None

Sets the offset of the model

setSamples(self) None

Sets sample/supporting points of interpolation wrt params

setScalingFactor(self, scaling: float) None

Sets the scaling factor of the model