Up to top level
AO15   AO16   AO17   AO18   AO19   Backgrounds   Calibration   Conference   Data   Docs   EPICMOS   EPICpn   Feedback   Gallery   Misc   OM   Pending   PhD_Theses   Publications   RGS   RadMonitor   SAS_Hardware   SAS_WS   SASv16.0   SASv16.0_Installation   SASv16.1   SASv16.1_Installation   SASv17.0   SASv17.0_Installation   SASv18.0   SASv18.0_Installation   SciSim   Simulators_other   Suggestions   Trash   Visibility   XMM-bouncing   XMM-news   XRPS   XSA   esas   incoming  

Logged in as guest

Viewing EPICpn/37425
Full headers

From: "Pawel Lachowicz" <tslpl@nus.edu.sg>
Subject: pn/data reduction problem: script file
Compose reply
Download message
Move To:
0 replies:
0 followups:

Private message: yes  no

Notes:

Notification:


From: "Pawel Lachowicz" <tslpl@nus.edu.sg>
To: <xmmhelp@sciops.esa.int>
Subject: pn/data reduction problem: script file
Date: Thu, 31 Jul 2008 17:46:37 +0800
Just enclosing the script file to the previous e-mail.
Regards,

Pawel Lachowicz




pn-reduction.csh


#!/bin/csh

echo ""
echo "Reduction of the XMM-pn-mos-rgs/odf data"
echo ""

echo ""
echo "cleaning /odf directory from .SAS and .cif files"

cd odf
rm *SUM.SAS
rm ccf.cif
cd ..

set DIR=`pwd`

setenv SAS_ODF $DIR/odf
setenv SAS_CCFPATH /home/pawel/xray/xmm/xmmsas_20080701_1801/ccf
setenv SAS_CCF $DIR/evt

echo ""
echo "making /env directory"

if( -d ./evt) then
  rm -rf ./evt/
endif

mkdir evt
cd evt

echo ""
echo "cifbuild.."
cifbuild withccfpath=no analysisdate=now category=XMMCCF fullpath=yes

echo ""
echo "odfingest.."
odfingest odfdir=$SAS_ODF outdir=$SAS_ODF

echo ""
echo "epchain.."
epchain keepintermediate=none
cp *PN*PIEVLI* pn.evt

echo ""
echo "The processing appears to be successfull. Check these event files:"
echo ""
ls -ltr *.evt
ls -ltr *.lst

mkdir ../pn ; cp pn.evt ../pn -f


--
National University of Singapore, Centre for Wavelets,
Approximation and Information Processing
Dr. Pawel Lachowicz
http://www.temasek-lab.nus.edu.sg/~tslpl

Up to top level
AO15   AO16   AO17   AO18   AO19   Backgrounds   Calibration   Conference   Data   Docs   EPICMOS   EPICpn   Feedback   Gallery   Misc   OM   Pending   PhD_Theses   Publications   RGS   RadMonitor   SAS_Hardware   SAS_WS   SASv16.0   SASv16.0_Installation   SASv16.1   SASv16.1_Installation   SASv17.0   SASv17.0_Installation   SASv18.0   SASv18.0_Installation   SciSim   Simulators_other   Suggestions   Trash   Visibility   XMM-bouncing   XMM-news   XRPS   XSA   esas   incoming  

Logged in as guest


Please make your (short) question the subject of your request!


Web interface using JitterBug ... back to the XMM home page