A branchless single-precision Voigt approximation for spectral synthesis
Richard Hoppe
Abstract
The Voigt function is evaluated repeatedly in spectral synthesis, and several widely used implementations carry an absolute error floor. We construct QLG, a family of branchless, single-precision approximations, separable in the damping parameter a. QLG is named for its three ingredients: Lorentzian and Gaussian generators L and G, and an envelope q that multiplies every fitted correction and vanishes at both endpoints. The leading Lorentzian wing amplitude is fixed analytically. Three members reach observed maximum full-profile relative errors of 6.5×10-3, 9.2×10-4, and 7×10-5 over a∈[10-9,109] and |v|105. Extended-domain and randomized checks support these error levels. For the tested SIU, MOOG, and Humlicek w4 implementations, the relative error instead approaches 100% towards small values of the damping parameter. We compare synthesis-weighted costs on an Apple M1 and an AMD EPYC 9554 using gfortran 15, and propagate errors through solar-dwarf, red-supergiant, and M-dwarf syntheses. The least expensive member costs 0.98-1.05 times as much as the tabulated Synspec kernel on the M1 and 1.11-1.20 times as much on the EPYC, with a maximum flux error smaller by a factor of 3.6. The intermediate member costs less than every tested arithmetic kernel and holds the flux error below 10-3. The most accurate member costs 1.6-3.0 times less than w4 and gives 3.4-5.0 times smaller maximum flux errors in the tested syntheses.
Create a lesson
Related papers
Precise Radii of Visual Binaries with Dynamical Masses: ξ Bootis \& 70 Ophiuchi
Shared title terminology · Becky E. Flores, Russel J. White, Gail Schaefer et al.
Instantaneous Spectral Bandwidth of Solar Type III Radio Bursts in the Interplanetary Medium
Shared title terminology · Daniel L. Clarkson, Eduard P. Kontar
Unveiling the infrared excess of SIPS J2045-6332 II: SPHEREx spectral decomposition supports a young unresolved binary interpretation
Shared title terminology · Michiharu Hyogo, Thomas P. Bickle, Joseph R. Biggs et al.
2D and 3D unified RHD atmospheres and wind models of early B-supergiants including approximate NLTE effects
Shared title terminology · Dwaipayan Debnath, Jon O. Sundqvist, Nicolas Moens
Thermal-pulse-resolved Binary Population Synthesis with Detailed Stellar Models: Implications for Long-period WD+MS Formation
Shared title terminology · Yanxu Shi, Hongwei Ge, Diogo Belloni et al.
High-precision abundance analysis of a unique CEMP-no star in Sculptor
Shared title terminology · Francisco Cuadra, Ása Skúladóttir, Romain Lucchesi et al.