colour.IPT_hue_angle

colour.IPT_hue_angle(IPT)[source]

Computes the hue angle in degrees from IPT colourspace.

Parameters:IPT (array_like) – IPT colourspace array.
Returns:Hue angle in degrees.
Return type:numeric or ndarray

Notes

Domain Scale - Reference Scale - 1
IPT

I : [0, 1]

P : [-1, 1]

T : [-1, 1]

I : [0, 1]

P : [-1, 1]

T : [-1, 1]

Range Scale - Reference Scale - 1
hue [0, 360] [0, 1]

References

[Fairchild2013y]

Examples

>>> IPT = np.array([0.96907232, 1, 1.12179215])
>>> IPT_hue_angle(IPT)  # doctest: +ELLIPSIS
48.2852074...