colour.constants.common Module

Common Constants

Defines common constants objects that don’t belong to any specific category.

colour.constants.common.FLOATING_POINT_NUMBER_PATTERN = u'[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?'

Floating point number regex matching pattern.

FLOATING_POINT_NUMBER_PATTERN : unicode

colour.constants.common.INTEGER_THRESHOLD = 0.001

Integer threshold value.

INTEGER_THRESHOLD : numeric

colour.constants.common.EPSILON = 1e-15

Default epsilon value for tolerance and singularities avoidance in various computations.

EPSILON : numeric