colour.msds_rayleigh_jeans#

colour.msds_rayleigh_jeans(temperatures: ArrayLike, shape: SpectralShape = SPECTRAL_SHAPE_DEFAULT) 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\)) according to the Rayleigh-Jeans law.

Parameters:
  • temperatures (ArrayLike) – Temperatures \(T[K]\) in kelvins.

  • shape (SpectralShape) – Spectral shape used to create the spectral distributions of the planckian radiators.

Returns:

Rayleigh-Jeans 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

Notes

  • The Rayleigh-Jeans law agrees with experimental results at large wavelengths (low frequencies) but strongly disagrees at short wavelengths (high frequencies). This inconsistency between observations and the predictions of classical physics is commonly known as the ultraviolet catastrophe.

Examples

>>> import numpy as np
>>> from colour.utilities import numpy_print_options
>>> with numpy_print_options(suppress=True):
...     msds_rayleigh_jeans(
...         np.array([3000.0, 5000.0]), shape=SpectralShape(400, 700, 100)
...     )
MultiSpectralDistributions([[    400.        ,  970097.946..., 1616829.910...],
                            [    500.        ,  397352.118...,  662253.531...],
                            [    600.        ,  191624.285...,  319373.809...],
                            [    700.        ,  103434.016...,  172390.027...]],
                           [...],
                           SpragueInterpolator,
                           {},
                           Extrapolator,
                           {'method': 'Constant', 'left': None, 'right': None})