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

PATTERN_FLOATING_POINT_NUMBER

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

THRESHOLD_INTEGER

Integer threshold value when checking if a float point number is almost an int.

EPSILON

Double-precision floating-point number type, compatible with Python float and C double.

DTYPE_INT_DEFAULT

alias of int64

DTYPE_FLOAT_DEFAULT

alias of float64

TOLERANCE_ABSOLUTE_DEFAULT

Convert a string or number to a floating point number, if possible.

TOLERANCE_RELATIVE_DEFAULT

Convert a string or number to a floating point number, if possible.

TOLERANCE_ABSOLUTE_TESTS

Convert a string or number to a floating point number, if possible.

TOLERANCE_RELATIVE_TESTS

Convert a string or number to a floating point number, if possible.