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

[ASTMInternational08], [CIET14804f], [FW10], [FC11], [NNJ43], [Wikipedia01c], [WS00c]

Examples

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