Download CRIRES data reduction cookbook
Transcript
CRIRES data reduction cookbook
VLT-MAN-ESO-14200-4032
101
% ls
OBS_EXTRACT_WL_TAB_WithAllCals_120s_A.hhh
OBS_EXTRACT_WL_TAB_WithAllCals_120s_A01.tab
OBS_EXTRACT_WL_TAB_WithAllCals_120s_A02.tab OBS_EXTRACT_WL_TAB_WithAllCals_120s_A03.tab
OBS_EXTRACT_WL_TAB_WithAllCals_120s_A04.tab
The above creates a file called *.hhh and *.tab (note the force=yes to force conversion from fits files
and oldiraf=no). Now we need to write this out in ascii format using the ttools package.
cl> tdump OBS_EXTRACT_WL_TAB_WithAllCals_120s_A01.tab >
OBS_EXTRACT_WL_TAB_WithAllCals_120s_A01.ascii (all on one line)
This produces an ascii file with nine columns, including the wavelength and extracted counts for
optical and rectangular, amongst others.
% cat OBS_EXTRACT_WL_TAB_WithAllCals_120s_A01.ascii
Extracted_RECT
D
%25.16g ""
Extracted_OPT
D
%25.16g ""
Error_RECT
D
%25.16g ""
Error_OPT
D
%25.16g ""
Weight_Norm_RECT D
%25.16g ""
Weight_Norm_OPT D
%25.16g ""
Background_noise D
%25.16g ""
Wavelength
D
%25.16g ""
Wavelength_model D
%25.16g ""
HIERARCH t ’ESO’ QC FWHM DIFF = -23.4195905544356
HIERARCH t ’ESO’ QC FWHM DIFF = -23.4195905544356
4738.449440002442
4738.449616523445
2.381331792048803
2.381331880760329
41.
34259.43634033203
0.
4034.38590909091
(all on one line)
4732.57120513916
4732.571381441183
2.379854258206329
2.379854346862813
41.
34259.43634033203
0.
4034.405363636364
(all on one line)
4744.603256225586
4744.603432975838
2.382877806448656
2.382877895217775
41.
34259.43634033203
0.
4034.424818181818
(all on one line)
(snip)
If one wanted to select just the wavelength and optimally extracted columns one could then do;
% cat OBS_EXTRACT_WL_TAB_WithAllCals_120s_A01.ascii | grep -iv e | ’{printf "%20.5f%20.5f\n", $8,
> OBS_EXTRACT_WL_TAB_WithAllCals_120s_A01_Wlen_ExtOPT_Err.ascii (all one line)
Thanks to Ronald Mennickent Cid for the above information.
oOo