colour.PchipInterpolator#
- class colour.PchipInterpolator(x: Any, y: Any, *args: Any, **kwargs: Any)[source]#
Bases:
_DispatchingInterpolatorInterpolate a 1-D function using Piecewise Cubic Hermite Interpolating Polynomial (PCHIP) interpolation.
NumPy arrays are evaluated with SciPy, other array namespaces use an equivalent native implementation that preserves automatic differentiation graphs.
On the NumPy backend the wrapped SciPy
PchipInterpolatormethodsderivative,integrate,rootsandsolveare exposed; they are unavailable for other backends.