fit
is the task which performs the actual fitting of
observed data to model spectra. The main inputs are a set of
observations supplied as a .yobs
file, and a set of
model data supplied as a .ymod
file or in one of the other
formats described in Section 4.
Some of the other parameters describe how the fitting will be done,
and some specify what form the result will be output in.
See Section 3.3 for some more discussion and examples.
Usage: fit [-help] [-debug] model=<model-file> [modelfmt=ymodel|galaxev|starburst99|svotar|sideways-vot] obs=<obs-file> [smoother=square|point] [scale=true|false] [fitcalc=chi2|poisson|unscaled] [gui=true|false] [summary=<out-file>] [bestfits=<out-table>] [bestfitsfmt=<out-format>]
bestfits = <out-table>
bestfitsfmt = <out-format>
bestfits
table.
Must be one of the permitted STILTS formats such as
votable
, fits
, ascii
,
text
, csv
, ...
See SUN/256 for a full list.
[Default: (auto)
]
fitcalc = chi2|poisson|unscaled
chi2
: chi squared using value errorspoisson
: chi squared using Poisson errorsunscaled
: absolute root mean squared distance[Default: chi2
]
gui = true|false
[Default: true
]
model = <model-file>
ymodel
file but may
be in some other format.
The format is given by the
modelfmt
parameter.
Multiple model files (in the same format) may be specified
by giving this parameter multiple times.
modelfmt = ymodel|galaxev|starburst99|svotar|sideways-vot
model
parameter.
See Section 4 for a list of known formats.
[Default: ymodel
]
obs = <obs-file>
yobs
format.
scale = true|false
[Default: true
]
smoother = square|point
obs
parameter.
The options are currently
square
: the model curve will be uniformly
averaged over the width of the observationpoint
: a linear interpolation of the model curve
will be taken at the central point of the observation[Default: square
]
summary = <out-file>
[Default: -
]