ascii_to_specint

Synopsis

ascii_to_specint ASCII_FILE SPECINT_FILE [options]

Description

The ascii_to_specint tool reads a generic flux spectrum from an ASCII text file, and writes it to a specint file.

The ASCII text file should contain one or more lines, each consisting of a wavelength value followed by a flux value. Blank lines and lines beginning with # are ignored.

Options

-h, --help

Print a summary of options.

--lambda-units=UNITS

Wavelength units of input file. Valid choices are A (\(\angstrom\); default) and micron (\({\rm \mu\,m}\)).

--flux-units=UNITS

Flux units of input file. Valid choices are erg/cm^2/s/A (\(\erg\,\cm^{-2}\,\second^{-1}\,\angstrom^{-1}\); default).

-l, --label=NAME:VALUE

Photospheric parameter name and value. Can be specified multiple times, to define multiple parameters.