colour.msds_blackbody#

colour.msds_blackbody(temperatures: ArrayLike, shape: SpectralShape = SPECTRAL_SHAPE_DEFAULT, c1: float = CONSTANT_C1, c2: float = CONSTANT_C2, n: float = CONSTANT_N) MultiSpectralDistributions[source]#

Generate the multi-spectral distributions of the planckian radiator for the specified N temperatures \(T[K]\) with values in watts per steradian per square metre per nanometre (\(W/sr/m^2/nm\)).

Parameters:
Returns:

Blackbody multi-spectral distributions of shape (n_wavelengths, N) with values in watts per steradian per square metre per nanometre (\(W/sr/m^2/nm\)).

Return type:

colour.MultiSpectralDistributions

Examples

>>> import numpy as np
>>> from colour.utilities import numpy_print_options
>>> with numpy_print_options(suppress=True):
...     msds_blackbody(
...         np.array([3000.0, 5000.0]), shape=SpectralShape(400, 700, 100)
...     )
MultiSpectralDistributions([[  400.        ,    72.1837...,  8742.5713...],
                            [  500.        ,   260.2281..., 12106.0645...],
                            [  600.        ,   517.4366..., 12761.3938...],
                            [  700.        ,   750.5147..., 11811.1793...]],
                           [...],
                           SpragueInterpolator,
                           {},
                           Extrapolator,
                           {'method': 'Constant', 'left': None, 'right': None})