Template Function wt::colourspace::planck_blackbody

Function Documentation

template<FloatingPoint Fp = double>
inline spectral_radiance_t wt::colourspace::planck_blackbody(const Wavelength auto &lambda, const Temperature auto &Tp) noexcept

Computes the spectral radiance of a blackbody radiator.

Template Parameters:

Fp – floating-points to use for computation

Parameters:
  • lambda – wavelength

  • T – temperature