colour.PchipInterpolator

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

Bases: scipy.interpolate._cubic.PchipInterpolator

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

y

Notes

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

property y

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

Parameters

value (array_like) – Value to set the dependent and already known \(y\) variable with.

Returns

Dependent and already known \(y\) variable.

Return type

array_like