iSTARMOD: A Python Code to Quantify Chromospheric Activity by Using the Spectral Subtraction Technique
Fernando Labarga, David Montes
TL;DR
The paper tackles the challenge of quantifying chromospheric activity in late-type stars across multiple indicators by employing spectral subtraction, implemented in iSTARMOD, a Python-based successor to STARMOD. It details an order-by-order subtraction pipeline that aligns, broadens, and combines reference spectra to isolate excess chromospheric emission, with automated EW measurements and uncertainty estimates. A comprehensive calibration framework for the χ-factor is presented, enabling conversion of excess EWs to absolute fluxes $L_{ ext{line}}/L_{ ext{bol}}$ across indicators such as Hα, Ca II H&K, Ca II IRT, He I D3, Na I D, and Paschen lines, thereby enabling flux-flux analyses and cross-indicator comparisons. The authors demonstrate the method on single stars and spectroscopic binaries, highlight the tool’s applicability to large surveys (e.g., CARMENES), and emphasize its utility for mitigating activity-induced RV signals in exoplanet searches. Overall, iSTARMOD offers a scalable, modular, and publicly available solution for systematic chromospheric activity studies and RV contamination assessment in stellar spectroscopy.
Abstract
The use of the spectral subtraction technique allows measurements of chromospheric activity in late-type stars across several activity indicators, such as H$α$ and the other Balmer lines in the visible, He I D3 and Na I D1, D2, Ca II H and K, and Ca II infrared triplet, as well as the Paschen series and He I $λ$10830 lines in the near-infrared. iSTARMOD is an updated and extended version of the original STARMOD code and its subsequent modifications. iSTARMOD is presented in this paper as a Python code developed to quantify chromospheric activity by using the spectral subtraction technique. iSTARMOD improves usability, modularity, and integration with modern data analysis workflows and is publicly available, including several examples that help one learn how to use and test the code. The iSTARMOD code is accompanied here with a series of calibrations of $χ$-functions, to transform the excess emission equivalent widths measured through iSTARMOD into absolute surface fluxes. The method provided with this code and the corresponding flux calibrations allows for the automatic characterization of the chromospheric activity of a large number of spectra or a large number of stars and is also very useful for mitigating the effect of activity on radial velocities in the search for exoplanets.
