FastSpec : Fast and versatile stellar spectrum synthesis code
Oleg Kochukhov
Key points
From the paper's conclusion- We demonstrate the code's performance and versatility on the solar spectrum, on the near-infrared molecular bands of an M dwarf, on the four Stokes parameters of a magnetic star, and on the hydrogen lines of hot stars. combines the physical completeness of classical model atmosphere and spectrum synthesis codes with the speed required by large surveys and the polarised transfer needed for stellar
Abstract
Modelling data from modern spectroscopic surveys and time-resolved spectropolarimetric observations requires stellar synthetic spectra to be computed rapidly over wide wavelength ranges from line lists that increasingly reach hundreds of millions of transitions, and for stars spanning the entire Hertzsprung-Russell diagram. Spectropolarimetric analyses of magnetically active stars additionally demand a solution of the polarised radiative transfer problem. We present a new local-thermodynamic-equilibrium (LTE) spectrum synthesis code designed around two goals: increased raw computational speed and broad astrophysical applicability, including the calculation of the full Stokes vector in the presence of a magnetic field. computes emergent intensity and flux spectra from plane-parallel and spherical model atmospheres. Chemical and ionisation equilibrium is obtained from the updated Spectroscopy Made Easy ( equation-of-state package, continuum opacities follow the family of routines, hydrogen bound-bound and bound-free absorption uses the occupation-probability formalism, and line absorption is evaluated with fast table-based Voigt and Faraday-Voigt profile algorithms. The transfer equation is integrated with DELO-Bézier formal solvers in both scalar and Stokes-vector form. Speed is achieved through aggressive OpenMP parallelisation, adaptive per-line wavelength windowing, and a memory-capped block-processing scheme that lets arbitrarily large line lists be handled within a user-defined RAM budget. The code synthesises spectra thousands of Å wide from line lists of 10^8 molecular and atomic transitions in under a minute on a modern multi-core laptop while reproducing benchmark calculations from established codes. We demonstrate the code's performance and versatility on the solar spectrum, on the near-infrared molecular bands of an M dwarf, on the four Stokes parameters of a magnetic star, and on the hydrogen lines of hot stars. combines the physical completeness of classical model atmosphere and spectrum synthesis codes with the speed required by large surveys and the polarised transfer needed for stellar magnetism studies into a single portable package.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- The OpenMULTI3D stellar analysis package. A 3D non-LTE spectrum synthesis code for AFGKM-type stars within the DISPATCH frameworkarXiv · 2026
- SpecpolFlow: a new Pythonic workflow for spectropolarimetryProceedings of the International Astronomical Union · 2026
- Adaptive multi-line fitting for stable line-core intensity and Doppler velocityFrontiers in Astronomy and Space Sciences · 2026
- Unlocking new information in stellar circular polarisation with second-order least-squares deconvolutionAstronomy & Astrophysics · 2026
- Radiation Synthesis Tools: Arbitrary Perspective Multiwavelength Radiation Synthesis for Solar Magnetohydrodynamic SimulationsThe Astrophysical Journal · 2026
- SpecFANN: Spectral Fitting via Artificial Neural Networks. I. A deep-learning-based emulator and fitting suiteAstronomy and Astrophysics · 2026