Skip to main content

The easiest way to analyze Fermi-LAT data

Project description

easyFermi

The easiest way to analyze Fermi-LAT data.

Requirements

easyFermi relies on Python 3, Fermitools and Fermipy.

We recommend the user to install Miniconda 3 or Anaconda 3 before proceeding.

To install Fermitools with conda, do:

$ conda create -n fermi -c conda-forge -c fermi fermitools python=3 clhep=2.4.4.1

If you have problems with the installation of Fermitools, please take a look on the video tutorial here: https://fermi.gsfc.nasa.gov/ssc/data/analysis/video_tutorials/

Now that you installed the Fermitools, you can install Fermipy with the following command:

$ conda install --name fermi -c conda-forge fermipy matplotlib=3.3.2

Note that Fermipy doesn't work properly with more recent releases of matplotlib. This is why we are installing matplotlib V3.3.2 here.

For more details, check the documentation of Fermipy here: https://fermipy.readthedocs.io/en/latest/install.html

Installing easyFermi

Now you just have to open the fermi environment with

$ conda activate fermi

And then install easyFermi with pip:

$ pip install easyFermi

Usage

While in the fermi environment, do:

$ python
>>> import easyFermi

Tutorials

You can find more details about easyFermi on https://github.com/ranieremenezes/easyFermi, and check the easyFermi tutorials on YouTube:

https://www.youtube.com/channel/UCeLCfEoWasUKky6CPNN_opQ

Fermipy light curve problem

In Fermipy V1.0.1 (Python 3), some users face a "KeyError: 'fit_success'" issue when trying to build the light curves.

This issue is solved here: https://github.com/fermiPy/fermipy/issues/368

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easyFermi-1.0.5.tar.gz (296.7 kB view hashes)

Uploaded Source

Built Distribution

easyFermi-1.0.5-py3-none-any.whl (295.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page