Skip to content

chen-zhi-lin/GAMERA_mycopy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GAMERA

is a project launched by the Max Planck Insitute for Nuclear Physics in Heidelberg (MPIK), an open-source C++/python package which handles the spectral modelling of non-thermally emitting astrophysical sources in a simple and modular way. It allows the user to devise time-dependent models of leptonic and hadronic particle populations in a general astrophysical context (including SNRs, PWNs and AGNs) and to compute their subsequent photon emission.

For more info and a turorial, see the GAMERA docu! (currently being updated)

GAMERA is written in C++ and can be wrapped to python.

The software is listed in the Astrophysics Source Code Library ascl:2203.007

Quick Start

Dependencies

You need to have GSL installed on your system, as well as SWIG if you want to wrap the python module. If you are a Mac user, it might be required to install pkg-config.

Building

Running

  • $ make all

will generate a shared object (lib/libgamera.so) as well as the python module (lib/_gamerapy.so , lib/gamerapy.py).

Licence

The GAMERA library and the GAMERA programs are free software; you can redistribute them and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

A copy of the GNU Lesser General Public License version 2.1 can be found here.

About

A C++/python library for source modeling in gamma astronomy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 77.4%
  • C++ 20.3%
  • Python 1.7%
  • Other 0.6%