colour.CAM16_Specification¶
-
class
colour.
CAM16_Specification
[source]¶ Defines the CAM16 colour appearance model specification.
- Parameters
J (numeric or array_like) – Correlate of Lightness \(J\).
C (numeric or array_like) – Correlate of chroma \(C\).
h (numeric or array_like) – Hue angle \(h\) in degrees.
s (numeric or array_like) – Correlate of saturation \(s\).
Q (numeric or array_like) – Correlate of brightness \(Q\).
M (numeric or array_like) – Correlate of colourfulness \(M\).
H (numeric or array_like) – Hue \(h\) quadrature \(H\).
HC (numeric or array_like) – Hue \(h\) composition \(H^C\).
References
Returns a new instance of the
colour.CAM16_Specification
class.-
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
Initialize self.
count
(value)index
(value, [start, [stop]])Raises ValueError if the value is not present.
Attributes
C
Alias for field number 1
H
Alias for field number 6
HC
Alias for field number 7
J
Alias for field number 0
M
Alias for field number 5
Q
Alias for field number 4
h
Alias for field number 2
s
Alias for field number 3