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.

Attributes

Methods

Notes

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

__init__(x, y, *args, **kwargs)[source]
property y

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

Returns

Dependent and already known \(y\) variable.

Return type

array_like