{ } Raw JSON

bundles / scipy 1.18.0 / scipy / interpolate / _polyint / _Interpolator1D

class

scipy.interpolate._polyint:_Interpolator1D

source: /scipy/interpolate/_polyint.py:22

Signature

class _Interpolator1D(xi = None, yi = None, axis = None)

Members

Summary

Common features in univariate interpolation

Extended Summary

Deal with input data type and interpolation axis rolling. The actual interpolator can assume the y-data is of shape (n, r) where n is the number of x-points, and r the number of variables, and use self.dtype as the y-data type.

Attributes

_y_axis

Axis along which the interpolation goes in the original array

_y_extra_shape

Additional trailing shape of the input arrays, excluding the interpolation axis.

dtype

Dtype of the y-data arrays. Can be set via _set_dtype, which forces it to be float or complex.

Methods

__call__
_prepare_x
_finish_y
_reshape_yi
_set_yi
_set_dtype
_evaluate

Aliases

  • scipy.interpolate._interpolate._Interpolator1D