The naco_util_spc_model recipe



Generate FITS table with physical spectro model


The sof file shall consist of 1 line with the name of an ASCII-file currently tagged with SPC_MODEL_ASCII.

The file must comprise these 9 columns: SpecMode (with a value found in ESO SEQ SPECMODE) Residual (with fitting residual, currently ignored) Fit_Order (with the number of fitted coefficients in the Legendre polynomial) XMin (with the minimum pixel value used for the fit) XMax (with the maximum pixel value used for the fit) C_1 (with the coefficient of the 1st Legendre term) C_2 (with the coefficient of the 2nd Legendre term) C_3 (with the coefficient of the 3rd Legendre term) C_4 (with the coefficient of the 4th Legendre term)

The default input ASCII-file is in the catalogs/ directory of the NACO source-code distribution.



Create an object for the recipe naco_util_spc_model.

import cpl
naco_util_spc_model = cpl.Recipe("naco_util_spc_model")

See also

cpl.Recipe for more information about the recipe object.

Bug reports

Please report any problems to Lars Lundin. Alternatively, you may send a report to the ESO User Support Department.