- the luminance component of the HLS color system for an emission spectrum,
- the value component of the HSV color system for a transmission spectrum.
Loading ....
The following Gist is an example in python/numpy/matplotlib, using standard module colorsys for color system conversion.