pyKurucz: A Pure Python Reimplementation of Kurucz ATLAS12 and SYNTHE for Stellar Spectrum Synthesis

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Kim, Elliot M., Ting, Yuan-Sen
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917521852989440
author Kim, Elliot M.
Ting, Yuan-Sen
author_facet Kim, Elliot M.
Ting, Yuan-Sen
contents pyKurucz is a pure Python reimplementation of Kurucz's ATLAS12 and SYNTHE, the standard code tools for computing synthetic stellar spectra. The original Fortran codes, written decades ago in a legacy dialect, are difficult to compile with modern toolchains without significant manual patching, and their long-term maintenance is uncertain following the passing of Robert L. Kurucz in 2025. pyKurucz delivers a complete, line-by-line Python translation of both engines, entirely removing the need for Fortran. Powered by NumPy, SciPy, and Numba, it combines the full ATLAS12 iteration loop (with direct opacity sampling and convection) with comprehensive physical treatments, from Saha-Boltzmann populations and molecular equilibrium to radiative transfer and advanced line broadening. Validated against the original across 100 atmosphere models spanning 2500 K cool giants to 44,000 K O stars over 300-1800 nm at resolving power R = 300,000, it achieves sub-0.01% median agreement. The pure Python implementation enables direct integration with machine learning workflows and large-scale survey pipelines, while preserving an archival reference implementation of both ATLAS12 and SYNTHE in a modern, readable language.
format Preprint
id arxiv_https___arxiv_org_abs_2603_11693
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle pyKurucz: A Pure Python Reimplementation of Kurucz ATLAS12 and SYNTHE for Stellar Spectrum Synthesis
Kim, Elliot M.
Ting, Yuan-Sen
Solar and Stellar Astrophysics
Astrophysics of Galaxies
Instrumentation and Methods for Astrophysics
pyKurucz is a pure Python reimplementation of Kurucz's ATLAS12 and SYNTHE, the standard code tools for computing synthetic stellar spectra. The original Fortran codes, written decades ago in a legacy dialect, are difficult to compile with modern toolchains without significant manual patching, and their long-term maintenance is uncertain following the passing of Robert L. Kurucz in 2025. pyKurucz delivers a complete, line-by-line Python translation of both engines, entirely removing the need for Fortran. Powered by NumPy, SciPy, and Numba, it combines the full ATLAS12 iteration loop (with direct opacity sampling and convection) with comprehensive physical treatments, from Saha-Boltzmann populations and molecular equilibrium to radiative transfer and advanced line broadening. Validated against the original across 100 atmosphere models spanning 2500 K cool giants to 44,000 K O stars over 300-1800 nm at resolving power R = 300,000, it achieves sub-0.01% median agreement. The pure Python implementation enables direct integration with machine learning workflows and large-scale survey pipelines, while preserving an archival reference implementation of both ATLAS12 and SYNTHE in a modern, readable language.
title pyKurucz: A Pure Python Reimplementation of Kurucz ATLAS12 and SYNTHE for Stellar Spectrum Synthesis
topic Solar and Stellar Astrophysics
Astrophysics of Galaxies
Instrumentation and Methods for Astrophysics
url https://arxiv.org/abs/2603.11693