colour.CAM_Specification_ATD95#

class colour.CAM_Specification_ATD95(h: ~typing.Optional[FloatingOrNDArray] = <factory>, C: ~typing.Optional[FloatingOrNDArray] = <factory>, Q: ~typing.Optional[FloatingOrNDArray] = <factory>, A_1: ~typing.Optional[FloatingOrNDArray] = <factory>, T_1: ~typing.Optional[FloatingOrNDArray] = <factory>, D_1: ~typing.Optional[FloatingOrNDArray] = <factory>, A_2: ~typing.Optional[FloatingOrNDArray] = <factory>, T_2: ~typing.Optional[FloatingOrNDArray] = <factory>, D_2: ~typing.Optional[FloatingOrNDArray] = <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 (Optional[FloatingOrNDArray]) – Hue angle \(H\) in degrees.

  • C (Optional[FloatingOrNDArray]) – 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 (Optional[FloatingOrNDArray]) – Correlate of brightness \(Br\).

  • A_1 (Optional[FloatingOrNDArray]) – First stage \(A_1\) response.

  • T_1 (Optional[FloatingOrNDArray]) – First stage \(T_1\) response.

  • D_1 (Optional[FloatingOrNDArray]) – First stage \(D_1\) response.

  • A_2 (Optional[FloatingOrNDArray]) – Second stage \(A_2\) response.

  • T_2 (Optional[FloatingOrNDArray]) – Second stage \(A_2\) response.

  • D_2 (Optional[FloatingOrNDArray]) – Second stage \(D_2\) response.

Notes

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

References

[Fai13e], [Gut95]

__init__(h: ~typing.Optional[FloatingOrNDArray] = <factory>, C: ~typing.Optional[FloatingOrNDArray] = <factory>, Q: ~typing.Optional[FloatingOrNDArray] = <factory>, A_1: ~typing.Optional[FloatingOrNDArray] = <factory>, T_1: ~typing.Optional[FloatingOrNDArray] = <factory>, D_1: ~typing.Optional[FloatingOrNDArray] = <factory>, A_2: ~typing.Optional[FloatingOrNDArray] = <factory>, T_2: ~typing.Optional[FloatingOrNDArray] = <factory>, D_2: ~typing.Optional[FloatingOrNDArray] = <factory>) None#
Parameters:
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