Download WVT BINNING - Physics & Astronomy
Transcript
22
named evt2.fits. There should also be a mask file mask.fits that contains 1 for good
data and 0 for bad data. Look at the examples in chapter 2 for ideas on how to create
such a mask. One should also have the bad pixel file in the directory or a parallel
../primary or ../secondary directory, for the CIAO script acis set ardlib to find it.
You will also need a copy of your ciao.csh (in CIAO/bin) in this directory.
# 1) General Setup
# 1.0) Copy event 2 file and bpix files into the working directory,
# and create the mask file
# 1.1) Unzip the tempmap package in the working directory
tar -xvzf tempmap.tar.gz
# 1.2) Sky coordinates to derive an image from, must match the mask file
setenv XMIN
3400
setenv XMAX
4500
setenv YMIN
3700
setenv YMAX
4800
# 1.3) Start CIAO
source ciao.csh -o
# 1.4) Execute the ciao script acis_set_ardlib
chmod +x acis_set_ardlib
punlearn ardlib
./acis_set_ardlib
# 1.5) Create the counts image
dmcopy "evt2.fits[bin x=${XMIN}:${XMAX}:1,y=${YMIN}:${YMAX}:1]" \
cts.fits clobber=yes verbose=2