colour.CAM_Specification_ATD95#

class colour.CAM_Specification_ATD95(h: float | NDArrayFloat | None = <factory>, C: float | NDArrayFloat | None = <factory>, Q: float | NDArrayFloat | None = <factory>, A_1: float | NDArrayFloat | None = <factory>, T_1: float | NDArrayFloat | None = <factory>, D_1: float | NDArrayFloat | None = <factory>, A_2: float | NDArrayFloat | None = <factory>, T_2: float | NDArrayFloat | None = <factory>, D_2: float | NDArrayFloat | None = <factory>)[source]#

Define the ATD (1995) colour vision model specification.

This specification has field names consistent with the remaining colour appearance models in colour.appearance but diverge from Fairchild (2013) reference.

Parameters:
  • h (float | NDArrayFloat | None) – Hue angle \(H\) in degrees.

  • C (float | NDArrayFloat | None) – Correlate of saturation \(C\). Guth (1995) incorrectly uses the terms saturation and chroma interchangeably. However, \(C\) is here a measure of saturation rather than chroma since it is measured relative to the achromatic response for the stimulus rather than that of a similarly illuminated white.

  • Q (float | NDArrayFloat | None) – Correlate of brightness \(Br\).

  • A_1 (float | NDArrayFloat | None) – First stage \(A_1\) response.

  • T_1 (float | NDArrayFloat | None) – First stage \(T_1\) response.

  • D_1 (float | NDArrayFloat | None) – First stage \(D_1\) response.

  • A_2 (float | NDArrayFloat | None) – Second stage \(A_2\) response.

  • T_2 (float | NDArrayFloat | None) – Second stage \(A_2\) response.

  • D_2 (float | NDArrayFloat | None) – Second stage \(D_2\) response.

Notes

  • This specification is the one used in the current model implementation.

References

[Fai13e], [Gut95]

__init__(h: float | NDArrayFloat | None = <factory>, C: float | NDArrayFloat | None = <factory>, Q: float | NDArrayFloat | None = <factory>, A_1: float | NDArrayFloat | None = <factory>, T_1: float | NDArrayFloat | None = <factory>, D_1: float | NDArrayFloat | None = <factory>, A_2: float | NDArrayFloat | None = <factory>, T_2: float | NDArrayFloat | None = <factory>, D_2: float | NDArrayFloat | None = <factory>) None#
Parameters:
  • h (float | NDArrayFloat | None) –

  • C (float | NDArrayFloat | None) –

  • Q (float | NDArrayFloat | None) –

  • A_1 (float | NDArrayFloat | None) –

  • T_1 (float | NDArrayFloat | None) –

  • D_1 (float | NDArrayFloat | None) –

  • A_2 (float | NDArrayFloat | None) –

  • T_2 (float | NDArrayFloat | None) –

  • D_2 (float | NDArrayFloat | None) –

Return type:

None

Methods

__init__([h, C, Q, A_1, T_1, D_1, A_2, T_2, D_2])

arithmetical_operation(a, operation[, in_place])

Perform given arithmetical operation with \(a\) operand on the dataclass-like class.

Attributes

fields

Getter property for the fields of the dataclass-like class.

items

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

keys

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

values

Getter property for the dataclass-like class values, i.e. the field values.

h

C

Q

A_1

T_1

D_1

A_2

T_2

D_2