Copyright (c) European Space Agency, 2025.
This file is subject to the terms and conditions defined in file 'LICENCE.txt', which is part of this source code package. No part of the package, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the file ‘LICENCE.txt’.
This is a repository with code and data analysis notebook for the X-ray binary Vela X-1 presented in the paper: SAS in ESA Datalabs: A New Platform for XMM-Newton Analysis.
Check ReadMeTools.md for details on the Python functions. Check ReadMeScripts.md for details on the Python scripts.
- CaseStudy.ipynb: Jupyter Lab Notebook with the pySAS data extraction and visualisation on Vela X-1.
- tools: Python utility functions needed for plotting and visualisation.
- scripts: Python scripts to run looped SAS tasks to extract data.
If running the Notebook on ESA Datalabs inside the XMM-SAS datalab, no pre-requisites are required. Everything is already pre-configured inside the datalab!
To run the Notebook locally you need Python 3.10 or above and standard packages/software listed in requirements.txt.
The Docker container environment used in the XMM-SAS Datalab has HEASOFT built from source in order to also have xspec
available (MIT license). You will need SAS version 21.0.0 to have access to pysas-wrapper (GPL-3.0 license) and SAS commands.
Author: Esin G. Gulbahar
Last Updated: 27/05/2025