next up previous contents
Next: The parameter file Up: Input Previous: The spectrum   Contents


Converting data files from XMM-RGS

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.

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.

Figure 1: Fit result of an XMM-RGS spectrum of Capella. Obviously the Lorentz profile function is well suited for fitting the emission lines.
\begin{figure}
\centering {\epsfig {figure=ManFig/rgs,width=13cm}}
\end{figure}


next up previous contents
Next: The parameter file Up: Input Previous: The spectrum   Contents
Jan-Uwe Ness
2003-05-23