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:
Return type:

None

Methods

__init__(name, uv_t, uv_m, uv_p)

Attributes

fields

Getter for the fields of the dataclass-like class.

items

Getter for the dataclass-like class items, i.e., the field names and values.

keys

Getter for the dataclass-like class keys, i.e., the field names.

values

Getter for the dataclass-like class field values.

name

uv_t

uv_m

uv_p