Skip to content

mireianievas/gammapy-ogip-spectra

 
 

Repository files navigation

Caveat: this is a work in progress. More details and examples will be added here

GammapyXray

A Python tool for the analysis of Gamma-ray and X-ray data in a unified framework, using physically-motivated spectral models.

A software description is provided in the following publication: TBD

Dependencies

The scripts provided in this folder are built on Numpy, Scipy, Astropy, Gammapy, Naima, Sherpa and Xspec.

Installation and Set-up

These instructions assume that you have previously installed a version of Anaconda or Miniconda on your machine.

Download the zip / clone the repo: TBD

To set-up the work environment with conda:

conda create -n gammapyXray-0.1
conda activate gammapyXray-0.1
conda install -c https://cxc.cfa.harvard.edu/conda/ciao -c conda-forge ciao sherpa
conda install -c conda-forge gammapy

Additionally, if you wish to combine the absorption models provided in Sherpa with the physical models provided by Naima, you have to install Naima. TBD: show how this is done!

Optionally, to work in a Jupyter Lab notebook:

conda install -c conda-forge jupyterlab

Citing

If you use gammapyXray for work/research presented in a publication (whether directly, or as a dependency to another package), we ask that you please cite it using the following links

https://zenodo.org/badge/DOI/10.5281/zenodo.4701488.svg?style=flat https://archive.softwareheritage.org/badge/swh:1:dir:02e8a702ef6c9558a9f96d99bf6b9f41b5edcd34/

We encourage you to also include citations to the paper in the main text wherever appropriate, using the recommended BibTeX entry:

Bibtex

Contributing Code and Feedback

https://img.shields.io/github/issues-pr/registerrier/gammapy-ogip-spectra https://img.shields.io/github/issues-pr-closed/registerrier/gammapy-ogip-spectra https://img.shields.io/github/issues/registerrier/gammapy-ogip-spectra https://img.shields.io/github/issues-closed/registerrier/gammapy-ogip-spectra?color=yellow

Licence

This folder is licensed under a 3-clause BSD style license - see the LICENSE.rst file.

Licence

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 86.4%
  • Python 13.6%