colour.CAM_Specification_Nayatani95#

class colour.CAM_Specification_Nayatani95(L_star_P: float | TypeAliasForwardRef('NDArrayFloat') | None = <factory>, C: float | TypeAliasForwardRef('NDArrayFloat') | None = <factory>, h: float | TypeAliasForwardRef('NDArrayFloat') | None = <factory>, s: float | TypeAliasForwardRef('NDArrayFloat') | None = <factory>, Q: float | TypeAliasForwardRef('NDArrayFloat') | None = <factory>, M: float | TypeAliasForwardRef('NDArrayFloat') | None = <factory>, H: float | TypeAliasForwardRef('NDArrayFloat') | None = <factory>, HC: float | TypeAliasForwardRef('NDArrayFloat') | None = <factory>, L_star_N: float | TypeAliasForwardRef('NDArrayFloat') | None = <factory>)[source]#

Define the Nayatani (1995) colour appearance model specification.

This specification provides a standardized interface for the Nayatani (1995) model with field names consistent across all colour appearance models in colour.appearance. While the field names differ from the original Fairchild (2013) reference notation, they map directly to the model’s perceptual correlates.

Parameters:

Notes

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

References

[Fai13c], [NSY95]

__init__(L_star_P: float | TypeAliasForwardRef('NDArrayFloat') | None = <factory>, C: float | TypeAliasForwardRef('NDArrayFloat') | None = <factory>, h: float | TypeAliasForwardRef('NDArrayFloat') | None = <factory>, s: float | TypeAliasForwardRef('NDArrayFloat') | None = <factory>, Q: float | TypeAliasForwardRef('NDArrayFloat') | None = <factory>, M: float | TypeAliasForwardRef('NDArrayFloat') | None = <factory>, H: float | TypeAliasForwardRef('NDArrayFloat') | None = <factory>, HC: float | TypeAliasForwardRef('NDArrayFloat') | None = <factory>, L_star_N: float | TypeAliasForwardRef('NDArrayFloat') | None = <factory>) None#
Parameters:
  • L_star_P (float | TypeAliasForwardRef('NDArrayFloat') | None)

  • C (float | TypeAliasForwardRef('NDArrayFloat') | None)

  • h (float | TypeAliasForwardRef('NDArrayFloat') | None)

  • s (float | TypeAliasForwardRef('NDArrayFloat') | None)

  • Q (float | TypeAliasForwardRef('NDArrayFloat') | None)

  • M (float | TypeAliasForwardRef('NDArrayFloat') | None)

  • H (float | TypeAliasForwardRef('NDArrayFloat') | None)

  • HC (float | TypeAliasForwardRef('NDArrayFloat') | None)

  • L_star_N (float | TypeAliasForwardRef('NDArrayFloat') | None)

Return type:

None

Methods

__init__(L_star_P, C, h, s, Q, M, H, HC, ...)

arithmetical_operation(a, operation[, in_place])

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

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.

L_star_P

C

h

s

Q

M

H

HC

L_star_N