synspec_to_specint
The synspec_to_specint tool extracts an single intensity
spectrum from a fort.18 data file produced by the SYNSPEC
spectral synthesis package (Lanz & Hubeny, 2003), and writes it to a
specint file. It accepts the following
command-line arguments:
- <synspec_file_name>
Name of input SYNSPEC file.
- <n_mu>
Number of \(\mu\) values in input file (as specified by the
nmuparameter in thefort.55SYNSPEC control file).
- <mu_0>
Minimum \(\mu\) value in input file (as specified by the
ang0parameter in thefort.55SYNSPEC control file).
- <lam_min>
Minimum wavelength of output file (\(\angstrom\)).
- <lam_max>
Maximum wavelength in output file (\(\angstrom\)).
- <R>
Resolution \(\mathcal{R}=\lambda/\Delta\lambda\) in output 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. For the law
selected by the <law_str> option, the tool calculates the
limb-darkening coefficients at each wavelength via a least-squares fit
to the function