colour.CorrespondingChromaticitiesPrediction#
- class colour.CorrespondingChromaticitiesPrediction(name: int, uv_t: NDArrayFloat, uv_m: NDArrayFloat, uv_p: NDArrayFloat)[source]#
Define a chromatic adaptation model prediction for corresponding chromaticities.
- Parameters:
name (int) – Test colour name used to identify the prediction instance.
uv_t (NDArrayFloat) – Chromaticity coordinates \(uv_t^p\) of the test colour under the test illuminant.
uv_m (NDArrayFloat) – Chromaticity coordinates \(uv_m^p\) of the matching colour under the reference illuminant.
uv_p (NDArrayFloat) – Chromaticity coordinates \(uv_p^p\) of the predicted colour as computed by the chromatic adaptation model.
- __init__(name: int, uv_t: NDArrayFloat, uv_m: NDArrayFloat, uv_p: NDArrayFloat) None#
- Parameters:
name (int)
uv_t (NDArrayFloat)
uv_m (NDArrayFloat)
uv_p (NDArrayFloat)
- Return type:
None
Methods
__init__(name, uv_t, uv_m, uv_p)Attributes
fieldsGetter for the fields of the
dataclass-like class.itemsGetter for the
dataclass-like class items, i.e., the field names and values.keysGetter for the
dataclass-like class keys, i.e., the field names.valuesGetter for the
dataclass-like class field values.nameuv_tuv_muv_p