This module provides functions for Planck law exitance calculations, as well as temperature derivative calculations. The functions provide spectral exitance in [W/(m^2.*)] or [q/(s.m^2.*)], given the temperature and a vector of one of wavelength, wavenumbers or frequency (six combinations each for exitance and temperature derivative). The total exitance can also be calculated by using the Stefan-Boltzman equation, in [W/m^2] or [q/(s.m^2)]. ‘Exitance’ is the CIE/ISO term for the older term ‘emittance’.
The Planck and temperature-derivative Planck functions take the spectral variable (wavelength, wavenumber or frequency) and/or temperature as either a scalar, a single element list, a multi-element list or a numpy array.
If the spectral variable and temperature are both single numbers (scalars or lists with one element), the return value is a scalar. If either the temperature or the spectral variable are single-valued, the return value is a rank-1 vector. If both the temperature and spectral variable are multi-valued, the return value is a rank-2 array, with the spectral variable along axis=0.
This module uses the CODATA physical constants. For more details see http://physics.nist.gov/cuu/pdf/RevModPhysCODATA2010.pdf
See the __main__ function for testing and examples of use.
Precalculate the Planck function constants using the values in scipy.constants. Presumbly these constants are up to date and will be kept up to date.
This module uses the CODATA physical constants. For more details see http://physics.nist.gov/cuu/pdf/RevModPhysCODATA2010.pdf
Print Planck function constants.
Planck law spectral exitance.
Calculates the Planck law spectral exitance from a surface at the stated temperature. Temperature can be a scalar, a list or an array. Exitance can be given in radiant or photon rate units, depending on user input in type.
Temperature derivative of Planck law exitance.
Calculates the temperature derivative for Planck law spectral exitance from a surface at the stated temperature. dM/dT can be given in radiant or photon rate units, depending on user input in type. Temperature can be a scalar, a list or an array.
Stefan-Boltzman wideband integrated exitance.
Calculates the total Planck law exitance, integrated over all wavelengths, from a surface at the stated temperature. Exitance can be given in radiant or photon rate units, depending on user input in type.
Planck function in wavelength for radiant exitance.
Planck function in wavenumber for radiant exitance.
Planck function in frequency for radiant exitance.
Planck function in wavelength domain for photon rate exitance.
Planck function in wavenumber domain for photon rate exitance.
Planck function in frequency domain for photon rate exitance.
Temperature derivative of Planck function in wavelength domain for radiant exitance.
Temperature derivative of Planck function in wavenumber domain for radiance exitance.
Temperature derivative of Planck function in frequency domain for radiant exitance.
Temperature derivative of Planck function in wavenumber domain for radiance exitance.
Temperature derivative of Planck function in wavenumber domain for photon rate.
Temperature derivative of Planck function in frequency domain for photon rate.