| ymkmu | stsdas.hst_calib.fos | ymkmu |
ymkmu -- Create a MULTISPEC WCS based on wavelength tables for FOS.
ymkmu input output
This task takes input spectra and wavelength tables, uses the IRAF curfit routines to fit the wavelength table, creates a MULTISPEC world coordinate system (WCS) description of the fit, and creates a new copy of the input spectrum with the new WCS.
This task is intended to be used with the Hubble Space Telescope (HST) spectrographic data from Faint Object Spectrograph (FOS) to merge the wavelengths that result from the calibration into the data itself so that other IRAF tasks, such as splot, may be used.
This particular task is a cl script design specifically for FOS data to be used with the mkmultispec task. To get more information about mkmultispec, see the help for that task.
What the script does is use the "weight" option of mkmultispec to mask out those regions of FOS data that contain no wavelength information. This allows FOS PRISM mode spectra and other gratings which do not illuminate the entire diode array to be used with mkmultispec.
These should be FOS ACCUM or RAPID mode data.
If this parameter is blank, the spectra will be modified in-place. If file names are specified, there must be the same number of output spectra as input spectra.
If no wavelength images/tables are specified, it is assumed that the wavelength images can be found by taking the rootname of the input images and appending the extension .c0h to the name.
If only one wavelength table is specified, the resulting MULTISPEC WCS will be applied to all input spectra. If more than one input wavelength is specified, there must be the same number of wavelength specifications as input spectra. The files may either be a tables or images. If a file is a table, the columns to use are specified as follows: tablename[columnname1,columnname2,...]. If no columns are specified, mkmultispec assumes all columns contain wavelength information.
The type of function to fit to the wavelength tables. If "table" is specified, the wavelength data are written directly into the input file headers. If the input is multigroup and "table" is specified, only one table will be applied to all the groups of the input. If interactive mode were chosen, the parameter will be set to the last function specified by the ":function" command.
The following parameters apply only for interactive fitting.
If you are rejecting many points, you might not want to mark rejected points. If interactive mode were chosen, this parameter will be set to the last value specified by the ":markrej" command.
1. Convert a series of FOS observations. The wavelengths will be found in the corresponding .c0h images for the input list of images. The output images will have a "_ymkmu" appended to the rootname.
cl> ymkmu y*.c1h y*%.c1h%_ymkmu.c1h%
Jonathan Eisenhamer
For assistance using this or any other tasks, please contact help@stsci.edu or call the help desk at 410-338-1082.
mkmultispec, curfit, icfit, splot, onedspec