This section is designed to lead you through the complicated procedure reducing RGS data with the SAS software. The shell script cora_rgspipe.sh summarizes all steps necessary in order to treat of raw data with SAS easier. The first section of the script must be edited to indicate where the SAS is installed and were the data are located. For naming conventions the observation-ID must also be given. Detailed instructions are given in comment lines. When correctly completed the script can be executed from the command line with ./cora_rgspipe.sh.
The program cora_rgs can only be used, if the cfitsio library is
installed on your system. The shell script is called cora_rgspipe.sh
and is designed to be executed from the command line delivering a CORA
spectrum file from the processed fits files. Basically the program reads the
fits files, calculates wavelengths from the channels using header information,
and writes the spectrum into a file that can be read with CORA. To summarize,
the steps in the script are described below.
http://astro.uni-tuebingen.de/software/xmmsas/packages.rgs.html.
We found the Lorentzian profile to optimally fit the instrumental line profiles. This can be seen from Fig. 1 were an XMM-RGS spectrum of Capella is shown as an example.
![]() |