|
Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.stsci.edu/documents/dhb/webvol2/c20_wfpc1calib.fm7.html
Дата изменения: Tue Feb 10 20:06:08 1998 Дата индексирования: Sat Dec 22 18:13:02 2007 Кодировка: Поисковые слова: http www.astronomy.ru forum index.php topic 4644.0.html |
In order to recalibrate the data, all of the reference files and tables that are used by the calibration steps to be performed should be retrieved (see previous section for advise on choosing reference files). We suggest copying the raw data files required for input to the calibration routines and the required reference files and tables to a subdirectory to be used for recalibration. This will preserve the original files. How to identify and retrieve the calibration reference files necessary to recalibrate the data was described in the previous section.
The next step is to set the calibration switches and reference keywords in the header of the raw data file (.d0h); these control how the data is recalibrated and which reference files are used at each step in the process. The switches and keywords are changed with the chcalpar task but can also be done with hedit.
The chcalpar task in the STSDAS hst_calib.ctools package takes a single input parameter-the name(s) of the image files to be edited. When the chcalpar task is started, it will automatically determine the instrument used to produce that image and will open one of several parameter sets (psets) that will load it with the current values of the header keywords. The WF/PC-1 pset is ckwwfpc.
For example, one method of editing the calibration keyword values would be:
wf> chcalpar w*.d0h
to> set wtab = "DISK$SHARE:[HSTDATA]"where the directory name in double quotes is the local directory where the calibration reference files and tables reside.
Once the calibration keywords in the header of the raw data file are set properly, the data can be recalibrated. The WF/PC-1 calibration software, calwfp, is executed by typing the name of the task followed by the rootname of the observation dataset. For example, to recalibrate the dataset w0w10e02t and write the log of the results to the file calwfpc.log (rather than to the screen), type:
hr> calwfp w0w10e02t > calwfpc.log
To avoid overwriting existing calibration files, specify a different output file name, for example:
wf> calwfp w0w10e02t wfpc_out > wfpc.log
cl> help calwfp
To recalculate the absolute sensitivity, set DOPHOTOM=YES in the .d0h file before running calwfp, or alternately, use the tasks in the synphot package of STSDAS.
See "Improving the Photometric Calibration" on page 46-17 for suggestions on improving the WF/PC-1 photometric calibration.
The synphot dataset must be installed in order to recalculate absolute sensitivity for WF/PC-1 data using calwfp or synphot.