Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/7.0.0/watchout/5.3/rgs_backward.shtml
Дата изменения: Unknown
Дата индексирования: Sat Dec 22 14:12:58 2007
Кодировка:

Поисковые слова: massive stars
XMM-Newton SAS: Watchout Page RGS spectrum of HR1099
Home Watchouts Software requirements Installation Download Documentation Calibration Help

I am unable to analyze RGS products, created with SAS v5.0, using later versions of SAS. Is there a workaround?

Due to a change of the structure of the RGS event lists and RGS source list files since SAS 5.1, it is necessary to convert products that where generated with SAS 5.0 to the format required by SAS 5.1 tasks, mainly rgsrmfgen. You can find out, if your event lists need to be updated by inquiring the spectrum product with the following command:

playback withscriptfile=n sets=PppppppppppRiSeeeSRSPEC1003.FIT \
|& grep rgsspectrum

The output contains a string like [xmmsas_yyyymmdd_tttt], which is an encoding of the date of the SAS. If that date is before 20010411, then updating of the data files is needed.

The recipe below lists the steps to be taken for one exposure of one instrument. It needs to be repeated per instrument. Note that in the following:

The above information can be derived from the product file names. Compare the SSC Data Product Specification.

The following steps need to be taken:

  1. set the environment variables SAS_ODF and SAS_CCF
  2. convert all the event lists
    rgsevconvert set=PppppppppppRiSeeeEVENLI0000.FIT
  3. convert all the source lists
    rgssources rgsset=PppppppppppRiSeeeSRCLI_0000.FIT
  4. delete the background region extension
    dsrm objects=PppppppppppRiSeeeSRCLI_0000.FIT:RGSi_BACKGROUND
  5. re-generate background selection region for proper background spectrum
    rgsregions eventset=PppppppppppRiSeeeEVENLI0000.FIT \
    set=PppppppppppRiSeeeSRCLI_0000.FIT
  6. extract spectra per order and per source (here only for one order/source)
    rgsspectrum file=PppppppppppRiSeeeSPEC1003.FIT order=1 source=3 \
    set=PppppppppppRiSeeeEVENLI0000.FIT \
    sourceset=PppppppppppRiSeeeSRCLI_0000.FIT
Users are reminded that spectra can be extracted only for sources, corresponding to rows in the SCRLIST extension of the source list file which have PROCESS=T. In case of doubt, inspection of the source list file is recommended. Users are anyhow invited to verify the source list before extracting a source spectrum, to ensure the correctness of the extraction coordinates.

Step 4. in the above recipe is due to the fact that rgsregion cannot overwrite extensions of a source list file.

After this rgsrmfgen can be started in the usual way, e.g. by:

rgsrmfgen ebins=13000 emax=2.3 emin=0.3 file=r1o1.rmf order=1 \
set=PppppppppppRiSeeeEVENLI0000.FIT \
source=3 sourceset=PppppppppppRiSeeeSRCLI_0000.FIT \
spectrumset=PppppppppppRiSeeeSPEC1003.FIT withspectrum=yes

The value of the parameter ebins in rgsrmfgen has a significant impact on the computation time. Although the default specified above is the optimal choice, smaller values (>~ 3000) may be accurate enough for most scientific purposes or testing.


Pages maintained by SAS librarian.
Any question about SAS should be addressed to the XMM-Newton help desk.

Updated on: November 18, 2006