Constants

CIE

colour.constants

CONSTANT_K_M

Rounded maximum photopic luminous efficiency \(K_m\) value in \(lm\cdot W^{-1}\).

CONSTANT_KP_M

Rounded maximum scotopic luminous efficiency \(K^{\prime}_m\) value in \(lm\cdot W^{-1}\).

CODATA

colour.constants

CONSTANT_AVOGADRO

Avogadro constant.

CONSTANT_BOLTZMANN

Boltzmann constant.

CONSTANT_LIGHT_SPEED

Speed of light in vacuum.

CONSTANT_PLANCK

Planck constant.

Common

colour.constants

DEFAULT_FLOAT_DTYPE

alias of numpy.float64

DEFAULT_INT_DTYPE

alias of numpy.int64

EPSILON

FLOATING_POINT_NUMBER_PATTERN

str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

INTEGER_THRESHOLD

Integer threshold value when checking if a floating point number is almost an integer.