*
Cococubed.com


Voigt Function

Home

Teaching materials
Astronomy research
Astronomy codes
... Stellar equation of states
... EOS with ionization
... EOS for supernovae
... Chemical potentials
... Stellar atmospheres
... Voigt Function
... Polytropic stars
... Cold white dwarfs
... Hotter white dwarfs
... Cold neutron stars
... Stellar opacities
... Neutrino energy loss rates
... Ephemeris routines
... Fermi-Dirac functions
... Galactic chemical evolution

... Nuclear reaction networks
... Nuclear statistical equilibrium
... Laminar deflagrations
... CJ detonations
... ZND detonations
... Fitting to conic sections
... Unusual linear algebra
... Derivatives on uneven grids
... Pentadiagonal solver
... Quadratics, Cubics, Quartics
... Supernova light curves
... Exact Riemann solutions
... 1D PPM Hydrodynamics
... Verification problems
... Plane - Cube Intersection

... FLASHcode
... MESA code
... GR1D code
Astronomy talks
Astronomy images
Outreach
Bicycle adventures
Artwork


Contact:
F.X.Timmes, my vitae

The Voigt profile is a spectral line profile named after Woldemar Voigt (seen in the upper left) in which a spectral line is broadened by two types of mechanisms, one which produces a Gaussian profile (e.g., Doppler broadening), and another which produces a Lorentzian, a Breit-Wigner, a Cauchy profile (e.g., collision broadening).

The driver and subroutines in test_voigt02.f compute the Voigt function H(a,v) given by M.R. Zaghloul in MNRAS, 375, 1043, 2007 , where "a" is the ratio of the natural width to the Doppler width and "v", distance from line center in units of the Doppler width. I've made a modest contribution by adding the derivatives dH/da and dH/dv, and showing how the damped sinusoid integrals may be accurately calculated.

The Voigt function is also the real part of w(z) = exp(-z2) erfc(iz), the Faddeeva function, the complex probability function, the plasma dispersion function. One may want to compare the answers produced by code offered above to those produced by the TOMS 680, algorithm and from the codes given on Bob Wells' Voigt Function webpage. Click on an image for the corresponding vector graphics pdf file.

H(a,v) profiles

H(a,v) for smaller a.

H(a,v) for larger a

Derivative with respect to "a" profiles, dH/da

dH/da for smaller a

dH/da for larger a

Derivative with respect to "v" profiles, dH/dv

dH/dv for smaller a

dH/dv for larger a


 



Please cite the relevant references if you publish a piece of work that use these codes, pieces of these codes, or modified versions of them. If you're nice, offer co-authorship of the publication. At best, you'll love these programs so much that you'll send great wads of cash to me.