README.md 983 Bytes
Newer Older
Carlo Ferrigno's avatar
Carlo Ferrigno committed
1
This is a module to wrap some functions of XMM SAS into python.
Carlo Ferrigno's avatar
Carlo Ferrigno committed
2
3
4
5
6

It is meant to extract spectra and light curves from a single point source in the field of view from the MOS cameras. No support for RGS is present.

It works for PN in maging mode and MOS in both imaging (small and full window) and timing mode.

Carlo Ferrigno's avatar
Carlo Ferrigno committed
7
Esamples are wrapped into jupyter notebooks and will be made available.
Carlo Ferrigno's avatar
Carlo Ferrigno committed
8

Carlo Ferrigno's avatar
Carlo Ferrigno committed
9
10
11
It contains also many functions to perform spectral fits through xspec using the pyxspec and bxa interfaces.

To perform actual SAS extraction on a local computer, it assumes sas is in
Carlo Ferrigno's avatar
Carlo Ferrigno committed
12
13
14
15
16
/opt/sas
and CCF is in
/opt/CalDB/ccf/

It assumes that you work in a location into which the ODF files are in a subfolder called 'odf'.
Carlo Ferrigno's avatar
Carlo Ferrigno committed
17
18
19
A docker container is under development to run the S/W.

The adaptive rebinning is not currently distributed.
Carlo Ferrigno's avatar
Carlo Ferrigno committed
20

Carlo Ferrigno's avatar
Carlo Ferrigno committed
21
This module has been used for the paper:
Carlo Ferrigno's avatar
Carlo Ferrigno committed
22
23
Ferrigno, Bozzo et al. (2020)

Carlo Ferrigno's avatar
Carlo Ferrigno committed
24
25
26
27
To install it:
pip install pyxmmsas (preferred)
or
python setup.py install (for development)