colour.luminance#
- colour.luminance(LV: Domain100, method: Literal['Abebe 2017', 'CIE 1976', 'Glasser 1958', 'Fairchild 2010', 'Fairchild 2011', 'Wyszecki 1963'] | str = 'CIE 1976', **kwargs: Any) Range100[source]#
Compute the luminance \(Y\) from the specified lightness \(L^*\) or Munsell value \(V\).
- Parameters:
LV (Domain100) – Lightness \(L^*\) or Munsell value \(V\).
method (Literal['Abebe 2017', 'CIE 1976', 'Glasser 1958', 'Fairchild 2010', 'Fairchild 2011', 'Wyszecki 1963'] | str) – Computation method.
Y_n – {
colour.colorimetry.luminance_Abebe2017(),colour.colorimetry.luminance_CIE1976()}, White reference luminance \(Y_n\).epsilon – {
colour.colorimetry.luminance_Fairchild2010(),colour.colorimetry.luminance_Fairchild2011()}, \(\epsilon\) exponent.kwargs (Any)
- Returns:
Luminance \(Y\).
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
LV100
1
Range
Scale - Reference
Scale - 1
Y100
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... >>> luminance(48.695557110922894, method="Abebe 2017") ... 12.1972253...