ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2601.003] PyCatIndex: Flexible pipeline for measuring Calcium II Triplet line strengths
The PyCatIndex pipeline automates the measurement of Equivalent Widths (EW) for the near-infrared Calcium II Triplet lines (~850 nm) in stellar spectra. The tool also performs the radial velocity correction via cross-correlation, robust continuum normalization using iterative polynomial fitting, and automated line profile fitting. PyCatIndex supports multiple analytical profiles, including Gaussian, Rutledge, and a combined Gaussian+Lorentzian model, with optimization performed through either Levenberg-Marquardt least-squares or Markov Chain Monte Carlo methods using emcee (ascl:1303.002). The code is highly configurable via a single YAML file, allowing users to define custom passbands and manage batch processing of large spectral datasets in FITS, CSV, or ASCII formats. PyCatIndex provides diagnostic multi-panel plots for quality control and outputs a comprehensive results table including signal-to-noise estimates and fit uncertainties.
Code site:
https://github.com/carrerajimenez/pyCatIndex
Described in:
https://scixplorer.org/abs/2026MNRAS.tmp..133N
Bibcode:
2026ascl.soft01003C


ascl:2601.003
Add this shield to your page
Copy the above HTML to add this shield to your code's website.