{ } Raw JSON

bundles / scipy latest / scipy / interpolate / _cubic / prepare_input

function

scipy.interpolate._cubic:prepare_input

source: /scipy/interpolate/_cubic.py :18

Signature

def   prepare_input ( x y axis dydx = None xp = None )

Summary

Prepare input for cubic spline interpolators.

Extended Summary

All data are converted to numpy arrays and checked for correctness. Axes equal to axis of arrays y and dydx are moved to be the 0th axis. The value of axis is converted to lie in [0, number of dimensions of y).

Aliases

  • scipy.interpolate._cubic.prepare_input