colour.CorrespondingChromaticitiesPrediction

class colour.CorrespondingChromaticitiesPrediction(name, uv_t, uv_m, uv_p)[source]

Defines a chromatic adaptation model prediction.

Parameters
  • name (unicode) – Test colour name.

  • uv_t (array_like, (2,)) – Chromaticity coordinates \(uv_t^p\) of test colour.

  • uv_m (array_like, (2,)) – Chromaticity coordinates \(uv_m^p\) of matching colour.

  • uv_p (array_like, (2,)) – Chromaticity coordinates \(uv_p^p\) of predicted colour.

Create new instance of CorrespondingChromaticitiesPrediction(name, uv_t, uv_m, uv_p)

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

name

Alias for field number 0

uv_m

Alias for field number 2

uv_p

Alias for field number 3

uv_t

Alias for field number 1