Published October 28, 2026 | Version v0.1.0

jamesmckevitt/tiedfit: v0.1.0

Authors/Creators

  • 1. UCL Mullard Space Science Laboratory

Description

First release.

tiedfit fits the Doppler velocity of several emission lines of one ion together, with one shared velocity, which measures it more precisely than the best single line. It works on any slit spectrograph data given as arrays of wavelength, counts and uncertainties.

  • Single-line and tied fits with weighted least squares, pixel by pixel, with the velocity uncertainty taken from the covariance matrix. Pixels can be fitted in parallel.
  • Blends of other ions get their own wavelength shift. Lines of the target's ion can have their intensity fixed relative to the target, and lines other than the target can have a fixed or separately fitted width.
  • Calibration of the relative rest wavelengths of an ion's lines from the data, and an along-slit zero point for instruments without an absolute wavelength reference.
  • Inverse-variance weighted mean of the single-line velocities, for comparison with the tied fit.
  • Reader for Hinode/EIS level-1 files through EISPAC (pip install tiedfit[eis]).
  • Line lists and blends predicted from CHIANTI through fiasco (pip install tiedfit[chianti]).

Files

jamesmckevitt/tiedfit-v0.1.0.zip

Files (35.5 kB)

Name Size
md5:d7fbe7552ed4229d756c76bc7b38e833
35.5 kB Preview Download

Additional details

Related works