XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


rgsrmfgen (rgsrmfgen-1.17) [xmmsas_20211130_0941-20.0.0]


Description

rgsrmfgen creates an OGIP-compliant response matrix file, or files, as required for spectrum analysis within XSPEC. Because a certain level of compatibility between the spectrum and response matrix is required, it is typical and convenient (but not required) to create the spectrum first and provide it as in input to the response generator. The instrument's response within each incident (photon) energy bin is calculated for every dispersion channel. The size of the matrix is determined, therefore, by the size of the spectrum and the number of incident energy bins (rows) specified on the command line. A matrix of one hundred energy bins can be computed fairly quickly (about ten minutes) and is good for visual inspection, but is not good for analysis. Two hundred fifty bins is a minimum for use with rgsfluxer, and three thousand is probably acceptable for use with XSPEC. Be prepared to wait a while, and for periodic progress updates set the verbosity level to five.

The new parameter witharffile can be used to create two separated redistribution matrix (RMFMAT) and effective area (ARFMAT) files. The user has to make sure that the task rgsfluxer is used in one of the follwoing ways:

The metatask rgsproc handles this situation automatically and run rgsfluxer with the correct intput files depending of the user's choice.

If the dyneffareacorr is enabled, the cal calculates a correction to the effective area which is based on a Chebyshev polynomial parametrization of calibration data. This effective area correction is time dependent and around every six months, a new correction is added to CCF. Depending on the observation date, the cal interpolates between the two closest effective area correction epochs. If the observation date is later than the last available correction epoch, we use the latest one as the valid correction. If the observation date is earlier than the first available correction epoch, we use the first one.

The EFFAREACOOR CCF file has a new extension called RECTIFICATION that can optionally be applied using the withrectification switch.

XMM-Newton SOC -- 2021-11-30