lentil.radiometry.planck_exitance#

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

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

\[M_{\lambda}(T) = \frac{2\pi hc^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().

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

Returns:

Spectral exitance in valueunit.

Return type:

ndarray