The ferre_to_specint tool extracts a series of flux spectra from a data file in FERRE format, and writes them to specint files. It accepts the following command-line arguments:


Name of input FERRE file.


Type of input file. This determines the mapping between photospheric parameters given in the input file, and photospheric parameters written to the output file. Supported options are CAP18 (for the Allende Prieto et al., 2018 grids).


Prefix of output specint files; these will have the name <specint_prefix>-NNNNNNNN.h5, where NNNNNNNN is the zero-padded index of the spectrum (starting at 1).