colour.appearance.nayatani95.hue_quadrature#

colour.appearance.nayatani95.hue_quadrature(h: ArrayLike) NDArrayFloat[source]#

Compute hue quadrature \(H\) from the specified Nayatani (1995) hue \(\theta\) angle in degrees via linear interpolation between the four unique-hue angles.

Parameters:

h (ArrayLike) – Hue \(\theta\) angle in degrees.

Returns:

Hue quadrature \(H\) in the 400-step Nayatani (1995) scale (R 0, Y 100, G 200, B 300, wrap to R 400).

Return type:

numpy.ndarray

References

[Fai13c], [NSY95]

Examples

>>> hue_quadrature(257.5232268)
np.float64(317.7841134...)