diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-04-12 00:22:33 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-04-12 00:22:33 +0800 |
commit | 3bd5f48a39fa4a6d24123afc110995bdef2c1c20 (patch) | |
tree | 895fc08b3374bf8af4c9696078ced05ca7c473ab /scripts | |
parent | 99651a2feb96be469ce0efdc1c0570ae2161f198 (diff) | |
download | chandra-acis-analysis-3bd5f48a39fa4a6d24123afc110995bdef2c1c20.tar.bz2 |
ciao_fill_sources.sh: generate fov file since some obs. do not provide the fov1.fits
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ciao_fill_sources.sh | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/scripts/ciao_fill_sources.sh b/scripts/ciao_fill_sources.sh index 0f3a4b2..638c9d8 100755 --- a/scripts/ciao_fill_sources.sh +++ b/scripts/ciao_fill_sources.sh @@ -120,11 +120,17 @@ set_variable OUTFILE "img_${ROOTNAME}_fill.fits" ${outfile} set_variable_pattern REG "celld_evt2_c7.reg celld_evt2_c0-3.reg" ${reg} set_variable REPRO ".." ${repro} -set_pfiles dmcopy dmkeypar dmmakereg roi dmfilth +set_pfiles skyfov dmcopy dmkeypar dmmakereg roi dmfilth -# FoV -ln -svf ${REPRO}/acisf*_fov1.fits . -FOV=`\ls acisf*_fov1.fits` +# Aspect/asol +ASOL_LIS=`\ls ${REPRO}/acisf*_asol1.lis` + +# Generate FoV file, since some obs. do NOT provide the `fov1.fits' file +# NOTE: the parameter `aspec' should be provided for the correct FoV +echo "Make skyfov file ..." +FOV="skyfov.fits" +punlearn skyfov +skyfov infile=${EVT} outfile=${FOV} aspect="@${ASOL_LIS}" # Filter energy EVT_E="evt2_${ROOTNAME}_deflare.fits" |