colour.PchipInterpolator

class colour.PchipInterpolator(x: ArrayLike, y: ArrayLike, *args: Any, **kwargs: Any)[source]

Bases: scipy.interpolate._cubic.PchipInterpolator

Interpolate a 1-D function using Piecewise Cubic Hermite Interpolating Polynomial interpolation.

Attributes

Methods

Notes

  • This class is a wrapper around scipy.interpolate.PchipInterpolator class.

Parameters
  • x (ArrayLike) –

  • y (ArrayLike) –

  • args (Any) –

  • kwargs (Any) –

__init__(x: ArrayLike, y: ArrayLike, *args: Any, **kwargs: Any)[source]
Parameters
  • x (ArrayLike) –

  • y (ArrayLike) –

  • args (Any) –

  • kwargs (Any) –

property y: numpy.ndarray

Getter property for the dependent and already known \(y\) variable.

Returns

Dependent and already known \(y\) variable.

Return type

numpy.ndarray