colour.luminance

colour.luminance(LV, method='CIE 1976', **kwargs)[source]

Returns the luminance \(Y\) of given Lightness \(L^*\) or given Munsell value \(V\).

Parameters:
  • LV (numeric or array_like) – Lightness \(L^*\) or Munsell value \(V\).
  • method (unicode, optional) – {‘CIE 1976’, ‘Newhall 1943’, ‘ASTM D1535’, ‘Fairchild 2010’, ‘Fairchild 2011’}, Computation method.
Other Parameters:
 
Returns:

luminance \(Y\).

Return type:

numeric or array_like

Notes

Domain Scale - Reference Scale - 1
LV [0, 100] [0, 1]
Range Scale - Reference Scale - 1
Y [0, 100] [0, 1]

References

[ASTMInternational2008a], [CIETC1-482004m], [Fairchild2010], [Fairchild2011], [Newhall1943a], [Wikipedia2001b], [Wyszecki2000bd]

Examples

>>> luminance(41.527875844653451)  # doctest: +ELLIPSIS
12.1972253...
>>> luminance(41.527875844653451, Y_n=100)  # doctest: +ELLIPSIS
12.1972253...
>>> luminance(42.51993072812094, Y_n=95)  # doctest: +ELLIPSIS
12.1972253...
>>> luminance(4.08244375 * 10, method='Newhall 1943')
... # doctest: +ELLIPSIS
12.5500788...
>>> luminance(4.08244375 * 10, method='ASTM D1535')
... # doctest: +ELLIPSIS
12.2363426...
>>> luminance(29.829510892279330, epsilon=0.710, method='Fairchild 2011')
... # doctest: +ELLIPSIS
12.1972253...