Output-reader API

list_fits_hdus

Return a compact inventory of HDUs and table columns in a FITS file.

read_fits_table

Read a named FITS table HDU into normalized row dictionaries.

read_fits_table_hdus

Read all HDUs with a given name and return per-HDU row lists.

read_xout_abundances

Read XSTAR xout_abund1.fits local-state tables.

read_xout_lines

Read an XSTAR xout_lines*.fits line table.

read_xout_parameters

Read the PARAMETERS table from an XSTAR output FITS file if present.

read_xout_spectra

Read an XSTAR continuum/spectrum table such as xout_cont1.fits.

write_csv

Write a list of dictionaries to CSV.

write_xout_spectra_csv

Write XSTAR spectrum rows to CSV for lower-level solver routines.