ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

Searching for codes credited to 'Navabi, M.'

Tip: Author search checks name variants (e.g., Smith, John, Smith J). Last names are still best when results are broad.

Found 1 code.

[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.