GENSPEC N1 N2 N3 N4 NG NP PARAMS[NP] AXES[NP] MASK -- genspec interpolates
spectra in a grid according to values of header items.
Parameters:
N1, N2 -- Spectra to set
N3, N4 -- Model spectra
NG -- Number of spectra in each group. The spectra should be
thought of in groups of NG spectra. e.g. if you had
observations of Halpha and Hbeta with separate spectra
you would set NG = 2. You would require models for each
of course. All spectra of the same parameter should be
in one block.
NP -- The number of parameters . The model spectra should on a
Cartesian grid (i.e. equal steps in each parameter).
e.g you might have a grid of log g and temperature with
the spectra stored to change first in log g and then Temp.
This would have NP=2
PARAMS -- Names of the parameters, which should correspond to the
storage order, so that in the example above they would be
"log g" and "Temperature". These should be REAL variables
with values stored in the headers. ALL spectra (i.e. objects
and models) should have these variables set.
AXES -- The number of points on each parameter axis. e.g. if you
stored 10 gravities at 5 temperature points, you would
enter 10, 5
MASK -- Yes to retain whatever mask has been applied to the data
when computing the output interpolated spectra. If not models
are interpolated onto all available pixels.
This command belongs to the classes: fitting and manipulation .