Skip to content

Instantly share code, notes, and snippets.

@KelSolaar
Created March 17, 2017 19:45
Show Gist options
  • Save KelSolaar/90f4d9d311dbedd7db0423e740b4d5d1 to your computer and use it in GitHub Desktop.
Save KelSolaar/90f4d9d311dbedd7db0423e740b4d5d1 to your computer and use it in GitHub Desktop.
CIE E - No k Factor Normalisation
import colour
# Normalisation factor k = 1 in colour.spectral_to_XYZ_integration:
# https://github.com/colour-science/colour/blob/535609305db468d1f7e96e2500c110dc6550803c/colour/colorimetry/tristimulus.py#L471
colour.spectral_to_XYZ_integration(colour.ILLUMINANTS_RELATIVE_SPDS['E']) / 100
# array([ 106.86546949, 106.8569171 , 106.89225128])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment