lentil.radiometry.planck_radiance

lentil.radiometry.planck_radiance(wave, temp, waveunit='nm', valueunit='wlam')[source]

Compute the Planck law spectral radiance from a blackbody radiator at the given temperature.

\[M_{\lambda}(T) = \frac{2hc^2}{\lambda^5 \exp \left(\frac{hc}{\lambda k T}\right)-1}\]
Parameters
  • wave (array_like or float) – Wavelength or array of wavelengths

  • temp (float) – Blackbody temperature in K

  • waveunit (str) – Wavelength units, as accepted by Unit(). Default is nm.

  • valueunit (str) – Flux units, as accepted by Unit(). Default is wlam.

Returns

Spectral radiance in valueunit sr^-1.

Return type

ndarray