colour.colorimetry.photometry Module

Photometry

Defines photometric quantities computation related objects.

References

[1]Wikipedia. (n.d.). Luminosity function. Retrieved October 20, 2014, from https://en.wikipedia.org/wiki/Luminosity_function#Details
[2]Ohno, Y., & Davis, W. (2008). NIST CQS simulation 7.4. Retrieved from http://cie2.nist.gov/TC1-69/NIST CQS simulation 7.4.xls
colour.colorimetry.photometry.luminous_flux(spd, lef=<colour.colorimetry.spectrum.SpectralPowerDistribution object at 0x2b3679aeddd0>, K_m=683)[source]

Returns the luminous flux for given spectral power distribution using the given luminous efficiency function.

Parameters:
  • spd (SpectralPowerDistribution) – test spectral power distribution
  • lef (SpectralPowerDistribution, optional) – \(V(\lambda)\) luminous efficiency function.
Returns:

Luminous flux

Return type:

numeric

Examples

>>> from colour import LIGHT_SOURCES_RELATIVE_SPDS
>>> spd = LIGHT_SOURCES_RELATIVE_SPDS.get('Neodimium Incandescent')
>>> luminous_flux(spd)  
23807.6555273...