ascii_to_specint

The ascii_to_specint tool reads a generic flux spectrum from an ASCII text file, and writes it to a specint file. It accepts the following command-line arguments:

<ascii_file_name>

Name of input ASCII text file (see below).

<lam_units>

Units of wavelength data in input file. Possible choices are 'A' (\(\angstrom\)).

<flux_units>

Units of flux data in input file. Possible choices are 'erg/cm^2/s/A' (\(\erg\,\cm^{-2}\,\second^{-1}\,\angstrom^{-1}\)).

<specint_file_name>

Name of output specint file.

<label> (optional)

Label of atmosphere parameter (must be accompanied by a corresponding <value> argument).

<value> (optional)

Value of atmosphere parameter (must be accompanied by a corresponding <label> argument).

Note that <label> and <value> parameters must be paired; and that there can be multiple of these pairs. The input ASCII text file should contain one or more lines, each consisting of a wavelength value followed by a flux value.