coelho_to_specint

Synopsis

coelho_to_specint COELHO_FILE SPECINT_FILE [options]

Description

The coelho_to_specint tool extracts a flux spectrum from a data file in FITS format (with a schema described at http://specmodels.iag.usp.br/ for the Coelho, 2014 spectral library), and writes it to a specint file.

Options

-h, --help

Print a summary of options.

-t, --file-type=TYPE

Input file type. This determines the wavelength abscissa adopted for the input file. Valid choices are linear (uniform wavelength spacing) and log (logarithmic wavelength spacing).

Note

In order for the coelho_to_specint tool to be built, you must first uncomment/edit the line in $MSG_DIR/Makefile that sets the FITS_LDFLAGS variable. This variable defines the flags used to link against your system’s FITS library.