colour.colorimetry.luminance_CIE1976#

colour.colorimetry.luminance_CIE1976(L_star: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 100], Y_n: TypeAliasForwardRef('ArrayLike') | None = None) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 100][source]#

Compute the luminance \(Y\) from the specified lightness \(L^*\) with the specified reference white luminance \(Y_n\).

Parameters:
  • L_star (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 100]) – Lightness \(L^*\).

  • Y_n (TypeAliasForwardRef('ArrayLike') | None) – White reference luminance \(Y_n\).

Returns:

Luminance \(Y\).

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

L_star

100

1

Range

Scale - Reference

Scale - 1

Y

100

1

References

[CIET14804h], [WS00l]

Examples

>>> luminance_CIE1976(41.527875844653451)
12.1972253...
>>> luminance_CIE1976(41.527875844653451, 95)
11.5873640...