NAME

ftrgsrmfsmooth - Smooths an XMM RGS response matrix for an extended source

USAGE

ftrgsrmfsmooth infile imgfile order extfactor outfile clobber

DESCRIPTION

This tool modifies the instrumental response to take into account the spatial degradation of the resolution when analyzing a moderately-extended (~1 arcmin) source. This uses the code developed by Andy Rasmussen of the Columbia University XMM-Newton RGS instrument team originally for the rgsxsrc convolution model available in xspec. The angular structure function is taken directly from an image (e.g., XMM-Newton EPIC, Chandra ACIS etc) where the user provides RA and Dec (2000) coordinates for the source, position angle of the spacecraft, and an aperture size suitable for the source.

The file input as the imgfile parameter is a text file giving the image filename, boresight, and source size in the following format :

RGS_XSOURCE_IMAGE  
RGS_XSOURCE_BORESIGHT  
RGS_XSOURCE_EXTRACTION  
For example :
RGS_XSOURCE_IMAGE mos1.fit
RGS_XSOURCE_BORESIGHT 05:25:02.9 -69:38:30 339.760974
RGS_XSOURCE_EXTRACTION  1.8

PARAMETERS

infile [filename]
The name of the input XMM RGS response file.

imgfile [filename]
The name of the text file containing the image, boresight and region size.

order [int]
This grating order for this response file (must be negative)..

extfactor [real]
Apply an initial smoothing factor. eg extfactor=1.1 will smooth by an extra 10%,

outfile [filename]
The name of the output response file.

clobber [bool]
If clobber = yes then overwrite the output file if a file of this name already exists.

EXAMPLES

ftrgsrmfsmooth infile=file1.rsp imgfile=test.img order=-1 outfile=fileout.rsp    

SEE ALSO

LAST MODIFIED

Oct 2024