Skip to content
Projects

Emission

The equations of opencr.analysis.emission, declared on the code that implements them and checked by the tests.

doppler_fwhm

functionsource

Return the Doppler FWHM in nm of lines at wavelength (nm), kT in eV, mass in kg.

fwhm
ΔλFWHM=λ 22ln⁡2 σvc,σv=kTm\Delta\lambda_{\mathrm{FWHM}} = \lambda\, 2\sqrt{2\ln 2}\, \frac{\sigma_v}{c}, \qquad \sigma_v = \sqrt{\frac{kT}{m}}
Assumes
  • a Maxwellian of the emitters at TT: σv\sigma_v per velocity component

line_table

functionsource

Return every line's wavelength, emissivity and power.

line
E=Eu−El,λ=hcE,ϵ=g Aul nu [photons m−3 s−1],P=ϵ E e [W m−3]E = E_u - E_l, \qquad \lambda = \frac{hc}{E}, \qquad \epsilon = g\,A_{ul}\, n_u \ [\mathrm{photons\ m^{-3}\,s^{-1}}], \qquad P = \epsilon\, E\, e \ [\mathrm{W\,m^{-3}}]
Assumes
  • every spontaneous emission u→lu \to l is a line; the escape factor gg is already in the rate
  • photon energies from the state energies; vacuum wavelengths, or in air above 200 nm
Built from

spectrum

functionsource

Return the spectral emissivity of lines on the grid wavelength (nm).

spectrum
ϵλ(λ)=∑linesϵσ2π e−(λ−λ0)2/2σ2,σ=ΔλFWHM22ln⁡2\epsilon_\lambda(\lambda) = \sum_{\mathrm{lines}} \frac{\epsilon}{\sigma\sqrt{2\pi}}\, e^{-(\lambda - \lambda_0)^2/2\sigma^2}, \qquad \sigma = \frac{\Delta\lambda_{\mathrm{FWHM}}}{2\sqrt{2\ln 2}}
width
ΔλFWHM2=ΔλDoppler2+Δλinstrument2\Delta\lambda_{\mathrm{FWHM}}^2 = \Delta\lambda_{\mathrm{Doppler}}^2 + \Delta\lambda_{\mathrm{instrument}}^2
Assumes
  • Gaussian lines only: no Stark, Zeeman or natural broadening
  • a line without either width raises
Built from