colour.Hunt_Specification¶
-
class
colour.Hunt_Specification[source]¶ Defines the Hunt colour appearance model specification.
This specification has field names consistent with the remaining colour appearance models in
colour.appearancebut diverge from Fairchild (2013) reference.Parameters: - J (numeric or array_like) – Correlate of Lightness \(J\).
- C (numeric or array_like) – Correlate of chroma \(C_94\).
- h (numeric or array_like) – Hue angle \(h_S\) 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_94\).
- H (numeric or array_like) – Hue \(h\) quadrature \(H\).
- HC (numeric or array_like) – Hue \(h\) composition \(H_C\).
Notes
- This specification is the one used in the current model implementation.
References
Create new instance of Hunt_Specification(J, C, h, s, Q, M, H, HC)
-
__init__()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
countReturn number of occurrences of value. indexReturn first index of value. Attributes
CAlias for field number 1 HAlias for field number 6 HCAlias for field number 7 JAlias for field number 0 MAlias for field number 5 QAlias for field number 4 hAlias for field number 2 sAlias for field number 3