colour.luminous_efficiency

colour.luminous_efficiency(sd, lef=SpectralDistribution(name='CIE 1924 Photopic Standard Observer', ...))[source]

Returns the luminous efficiency of given spectral distribution using given luminous efficiency function.

Parameters:
Returns:

Luminous efficiency.

Return type:

numeric

References

[Wikipedia2003b]

Examples

>>> from colour import LIGHT_SOURCES_SDS
>>> sd = LIGHT_SOURCES_SDS['Neodimium Incandescent']
>>> luminous_efficiency(sd)  # doctest: +ELLIPSIS
0.1994393...