colour.IPT_hue_angle#

colour.IPT_hue_angle(IPT: ArrayLike) FloatingOrNDArray[source]#

Compute the hue angle in degrees from IPT colourspace.

Parameters

IPT (ArrayLike) – IPT colourspace array.

Returns

Hue angle in degrees.

Return type

numpy.floating or numpy.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

[Fai13g]

Examples

>>> IPT = np.array([0.96907232, 1, 1.12179215])
>>> IPT_hue_angle(IPT)  
48.2852074...