CubicSpline2d#

class pyopenms.CubicSpline2d#

Bases: object

Cython implementation of _CubicSpline2d

Original C++ documentation is available here

__init__()#

Overload:

__init__(self, x: List[float], y: List[float]) None

Overload:

__init__(self, in_0: CubicSpline2d) None

Overload:

__init__(self, m: Dict[float, float]) None

Methods

__init__

Overload:

derivatives(self, x, order)

Returns first, second or third derivative of cubic spline

eval(self, x)

Evaluates the cubic spline

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

Returns first, second or third derivative of cubic spline

eval(self, x: float) float#

Evaluates the cubic spline