Coder Social home page Coder Social logo

godot-96's Introduction

godot

godot is a collection of Python code for performing likelihood analysis with photon weights, primarily with Fermi Large Area Telescope data.

Installation

godot requires an installation of fermitools from the Fermi Science Support Center. I suggest the conda distribution, but this code should work with an older distribution, too.

Once you have a working fermitools/Science Tools installation, the following two steps should suffice. Once accomplished, treat like any other Python code!

(1) You will need to have libskymaps.so in your PYTHONPATH. This will be somewhere like e.g. miniconda2/envs/fermi/lib/fermitools. This doesn't happen by default when you activate the fermi conda environment, so it's helpful to make a setup script that activates the environment then additionally sets the path.

(2) You will need CALDB to point to the right place. This should be taken care of when you activate the fermi environment.

Use

The best way to get started is to look at the paper and then have a look at paper_plots.py, which has code to generate every plot in the paper, and thus gives a nice range of examples.

Many of the data sets I used are given nicknames and saved. To make one from scratch, see paper_plots.py/make_j1231_pulse_profile.

godot-96's People

Contributors

kerrm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.