splinart.spline package

Submodules

splinart.spline.spline module

Cubic spline

splinart.spline.spline.spline(xs, ys)

Return the second derivative of a cubic spline.

Parameters:
  • xs (np.ndarray) – The x coordinate of the cubic spline.
  • ys (np.ndarray) – The y coordinate of the cubic spline.
Returns:

The second derivative of the cubic spline.

Return type:

np.ndarray

splinart.spline.splint module

Integration of a cubic spline.

splinart.spline.splint.splint(xs, ys, y2s, x, y)

Evaluate a sample on a cubic pline.

Parameters:
  • xs – The x coordinates of the cubic spline.
  • ys – The y coordinates of the cubic spline.
  • y2s – The second derivative of the cubic spline.
  • x – The sample where to evaluation the cubic spline.
  • y – The y coordinates of the sample.

Module contents

Spline package