Thursday, January 14, 2010

response matrix file .rsp

http://xspector.blogspot.com/2008/12/script-to-split-rsp-files-into-rmf-and.html


Keith has written a little perl script split_rsp_to_rmf_arf which takes an input response matrix file and splits it into a response matrix file with unit total response at each energy and an arf which gives the total response at each energy. This can be used to mock up in v12 xspec the behaviour of v11 xspec with /b models. An example is given on the wiki section on backgrounds.

------------------------
effective area, or "ARF", and line-spread-function, or "RMF"
effective area, or "ARF", and line-spread-function, or "RMF"


To find the effective area distribution, sum up the matrix column of SPECRESP MATRIX in rsp file.

to make the effective area vs. energy plot, use the command 'plot efficien' in xspec. If the response file is rsp file, then the plot will be effective area. Otherwise, it will be the efficiency. At this point, with the command "we" to output the total effective area or the efficiency to a file.

No comments: