SpecpolFlow is an open-source, Python-based software pipeline for analyzing spectropolarimetric data. It can be run from the command line or through a source code editor, and contains tools to
-
• reformat observed spectra into a standardized file type;
-
• normalize spectra to the continuum with an interactive graphical user interface;
-
• Assemble and interactively edit Least Squares Deconvolution (LSD) line masks from atomic line catalogs; and
-
• calculate LSD profiles, line bisectors, radial velocities, and longitudinal magnetic field
$\langle B_z \rangle$
values.
SpecpolFlow unifies legacy codes into a customizable workflow that is extensively documented and designed for accessibility. The websiteFootnote † also contains comprehensive tutorials (including Jupyter notebooks and Colab examples) for flexible workflows and batch processing. SpecpolFlow has been published in the Journal of Open Source Software (Folsom et al. Reference Folsom, Erba, Petit, Seadrow, Stanley, Natan, Zaire, Oksala, Villadiego Forero, Moore and Catalan Olais2025).
Supplementary material
To view supplementary material for this article, please visit https://doi.org/10.1017/S1743921326105651.
