Notes on reducing OSIRIS data
These notes have been collected from working with Randy and Shelley.
- General:
- Names for clarification:
ORP-SPEC = On-line Reduction Pipeline
CRP-SPEC = Calibration Reduction Pipeline
ARP-SPEC = Astronomical Reduction Pipeline
- Reducing data at Keck:
- rlogin olowalu -l osrseng
cd /sdata1100/osrseng/work/
mkdir davidl
mkdir davidl/object/
mkdir davidl/object/DRFs/
\cp -p randy/nova/DRFs/s050913_a007.xml davidl/object/DRFs/tmp.xml
then work on editing the xml files
see examples in other directories
and read instructions below
- to run the FRP:
run_odrp &
cd in your DRF directory
osirisDropDRF "s060117_a026.xml" 1
- to see the results:
run_ql2
- FRP setup advices:
- Classical FRP reduction xml file should include:
+ ReductionType="ARP_SPEC"
ensure reduction type is set for more iterations
+ dataset .. .. input file(s)s here
note you could reduce more than one file at a time
+ "Subtract Dark Frame"
note the possibility to build a super sky (see below)
+ "Adjust Channel Levels"
+ "Glitch Identification"
+ "Spatially Rectify Spectrum"
+ "Assemble Data Cube"
+ "Clean Cosmic Rays"
- Do not use following modules:
- "Divide by Flat Field"
- "Interpolate 1d"
- For bright object, :
* use "Remove Crosstalk"
* do not use "Glitch Identification"
(dlm found glitch id introduces a lot of spurious effects on the bright structures for RR data.)
- For telluric correction
can use aperture photometry for narrow filter or large fov
for broad band, would require PSF fitting for small fov
- Examples of XML file:
Below follow 3 examples of xml files from Shelley:
1. Default ARP
2. Super sky
3. Mosaic
- Default ARP
<?xml version="1.0" encoding="UTF-8"? >
<!-- s051222_a016 -->
<DRF LogPath="/you_local_path_here/SPEC/DRFs"
ReductionType="ARP_SPEC">
<dataset InputDir="/you_local_path_here/SPEC/raw"
<fits FileName="s051222_a016001.fits" />
<fits FileName="s051222_a016003.fits" />
</dataset>
<module
CalibrationFile="/you_local_path_here/SPEC/raw/051222_a016002.fits"
Name="Subtract Dark Frame" />
<module Name="Adjust Channel Levels" />
<module Name="Glitch Identification" />
<module
CalibrationFile="/you_local_path_here/calib/SPEC/rectfication/s050624_c069___infl_Hn3_050.fits"
Name="Spatially Rectify Spectrum" />
<module Name="Assemble Data Cube" />
<module Name="Clean Cosmic Rays" />
<module
Name="Save DataSet Information"
OutputDir="/you_local_path_here/reduce_v1"/>
</DRF>
- "Super" sky
- Mosaic Routine:
- Thank you very much to Shelley and Randy!
BACK
|