copymodel is used to prepare files containing model spectra,
ready for fitting by the
It takes model data in one of the forms described in Section 4
as input, optionally manipulates it in accordance with the parameters,
and writes the output to a
.ymod file suitable for
input into other fitting tasks.
The main manipulations which can be performed are changing the
X and Y values (using the
and labelling the axes and their units.
See Section 3.2 for some more discussion and examples.
Usage: copymodel [-help] [-debug] in=<model-file> [ifmt=ymodel|galaxev|starburst99|svotar|sideways-vot] [out=<out-file>] [ofmt=ymodel-fits|ymodel-votable|ymodel-votable-binary] [x=<expr>] [y=<expr>] [xname=<value>] [xunit=<value>] [yname=<value>] [yunit=<value>]
ifmt = ymodel|galaxev|starburst99|svotar|sideways-vot
inparameter. See Section 4 for a list of known formats.
in = <model-file>
ifmtparameter. Multiple model files (in the same format) may be specified by giving this parameter multiple times.
ofmt = ymodel-fits|ymodel-votable|ymodel-votable-binary
ymodel, but it is possible to choose which variant (FITS, VOTable etc) of that format is used by specifying this parameter. It doesn't matter much which is used though there may be performance implications.
out = <out-file>
x = <expr>
x" simply makes the one equal to the other, however it is possible to use algebraic expressions here in terms of
y(the Y values from the input model file). Normal arithmetic operators as well as some special functions may be used - see Section 6.
xname = <value>
xunit = <value>
y = <expr>
y" simply makes the one equal to the other, however it is possible to use algebraic expressions here in terms of
x(the X values from the input model file). Normal arithmetic operators as well as some special functions such as
abToJansky()may be used - see Section 6.
yname = <value>
yunit = <value>