src.Atomic.LTELib.Planck_cm¶
-
src.Atomic.LTELib.
Planck_cm
(*args, **kwargs)¶ given wavelength and temperature, calculate the wavelength based planck function.
with nb.vectorize( [nb.float64(nb.float64,nb.float64)]).
- Parameters
W (np.double or array-like) – wavelength, [\(cm\)]
T (np.double or array-like) – temperature, [\(K\)]
- Returns
intensity – wavelength based intensity, [\(erg/cm^2/Sr/cm/s\)]
- Return type
np.double or array-like
Notes
The Planck function 1.
\[B_{\lambda}(T) = \frac{2hc^2}{\lambda^5} \frac{1}{e^{hc/\lambda kT}-1} \quad [erg/cm^2/Sr/cm/s]\]References
- 1
Robert J. Rutten, “Introduction to Astrophysical Radiative Transfer”, pp. 43, 2015.