radis.spectrum.equations module

Created on Mon Nov 13 21:58:47 2017.

@author: erwan

Formula to calculate most spectral quantities

Are stored here all equations that need to be used by both the factory (to generate the spectrum) or the spectrum class (to recompute some quantities in post processing)

abscoeff2xsection(abscoeff_cm1, Tgas_K, pressure_Pa, mole_fraction)[source]

Convert Absorption coefficient (cm-1) to Cross-section (cm2)

Parameters:
  • abscoeff_cm (cm-1)

  • Tgas_K (K)

  • pressure_Pa (Pa)

  • mole_fraction (0-1)

Returns:

xsection

Return type:

cm2

calc_radiance(wavenumber, emissivity, Tgas, unit='mW/sr/cm2/nm')[source]

Derive radiance (\(mW/cm^2/sr/nm\)) from the emissivity.

\[I(\lambda) = \epsilon(\lambda) \cdot L_0(\lambda, T)\]
Returns:

radiance – unless unit is different

Return type:

array in \(mW/sr/cm2/nm\)

See also

planck()