colour.luminance#

colour.luminance(LV: ArrayLike, method: Union[Literal['Abebe 2017', 'CIE 1976', 'Glasser 1958', 'Fairchild 2010', 'Fairchild 2011', 'Wyszecki 1963'], str] = 'CIE 1976', **kwargs: Any) NDArrayFloat[source]#

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

Parameters:
Returns:

Luminance \(Y\).

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

LV

[0, 100]

[0, 1]

Range

Scale - Reference

Scale - 1

Y

[0, 100]

[0, 1]

References

[APLR17], [ASTMInternational08], [CIET14804h], [FW10], [FC11], [NNJ43], [Wikipedia01c], [WS00l]

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...