Defines luminous efficiency functions computation related objects.
See also
Luminous Efficiency Functions IPython Notebook colour.colorimetry.dataset.lefs, colour.colorimetry.spectrum.SpectralPowerDistribution
References
[1] | Wikipedia. (n.d.). Mesopic weighting function. Retrieved June 20, 2014, from http://en.wikipedia.org/wiki/Mesopic_vision#Mesopic_weighting_function |
Calculates the mesopic weighting function factor at given wavelength \(\lambda\) using the photopic luminance \(L_p\).
Parameters: |
|
---|---|
Returns: | Mesopic weighting function factor. |
Return type: | numeric |
Raises: | KeyError – If wavelength \(\lambda\) is not available in either luminous efficiency function. |
Examples
>>> mesopic_weighting_function(500, 0.2)
0.7052200...
Returns the mesopic luminous efficiency function \(V_m(\lambda)\) for given photopic luminance \(L_p\).
Parameters: |
|
---|---|
Returns: | Mesopic luminous efficiency function \(V_m(\lambda)\). |
Return type: | SpectralPowerDistribution |
Examples
>>> mesopic_luminous_efficiency_function(0.2)
<colour.colorimetry.spectrum.SpectralPowerDistribution object at 0x...>