CubicSpline2d#

class pyopenms.CubicSpline2d#

Bases: object

cubic spline interpolation as described in R.L. Burden, J.D. Faires, Numerical Analysis, 4th ed. PWS-Kent, 1989, ISBN 0-53491-585-X, pp. 126-131

__init__(arg0: collections.abc.Sequence[float], arg1: collections.abc.Sequence[float], /) → None#
__init__(arg: collections.abc.Mapping[float, float], /) → None

Methods

__init__(arg0, arg1, /)

derivatives(x, order)

Returns first, second or third derivative of cubic spline

eval(x)

Evaluates the cubic spline

derivatives(x: float, order: int) → float#

Returns first, second or third derivative of cubic spline

eval(x: float) → float#

Evaluates the cubic spline