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


psfgen (psfgen-1.7.1) [xmmsas_20230412_1735-21.0.0]

Example 7: create a PSF weighted over several energies

To produce a weighted PSF use the command in example 4.6 with the weight parameter. For example,

psfgen image=source.fits output=source_psf.fits energy='600 2000 10000' weight='0.3 0.3 0.4' coordtype=pos x=17500 y=25000

will calculate the pixels in the combination PSF using

  $\displaystyle p_{comb}^{i,j} = \textbf{0.3} * p_{600}^{i,j} + \textbf{0.3} * p_{2000}^{i,j} + \textbf{0.4} * p_{10000}^{i,j}
$ (1)
The default weighting is $1$ for each energy band and weights are normalised to one within the program.



XMM-Newton SOC -- 2023-04-16