Skip banner and navigation tools.

 |  site map

Skip sidebars of related page links.

Creating spectral files

To create PHA files for input into e.g. XSPEC or ISIS from the same UVOT images used for the uvotmaghist task, first copy over or locate the latest canned response matrices for the filters you require from the CALDB. These are named swu<filter>_dateversion.rsp, where dateversion will be something like 20041120v104. Run uvot2pha, adding the extension number to the input filename.

>uvot2pha 
Input (img or evt) filename []: sw00374210000uuu_sk.img.gz+1 
Source region file name []: Usource.reg 
Background region file name []: Uback.reg 
Output source PHA filename []: Usource.pha 
Output background PHA filename []: Uback.pha 
Response file name []: swuuu_20041120v104.rsp

Note that the EBOUNDS extension of the response matrices may need the numbers swapping over (to be lowest energy first) - this is necessary for use in ISIS but not for use in XSPEC.

Index