Skip to content

MEGAlib - the Medium-Energy Gamma-ray Astronomy library

License

Notifications You must be signed in to change notification settings

krishnatejavedula/megalib

 
 

Repository files navigation

MEGAlib - the Medium-Energy Gamma-ray Astronomy library

Overview

The Medium Energy Gamma-ray Astronomy library (MEGAlib) is a set of software tools which are designed to simulate, calibrate, and analyze data of hard X-ray and gamma-ray detectors, with a specialization on Compton telescopes. While MEGAlib was originally developed for astrophysics, it has been expanded and used for ground based applications such as medical imaging and environmental monitoring. The library comprises all necessary data analysis steps for these telescopes, from simulation/measurements via calibration, event reconstruction to image reconstruction.

MEGAlib contains a geometry and detector description tool for the detailed modeling of different detector types and characteristics, and provides an easy to use simulation program based on Geant4. For different Compton telescope detector types (electron tracking, multiple Compton or time of flight based) specialized Compton event reconstruction algorithms are implemented in different approaches (Chi-square and Bayesian). The high level data analysis tools allow to calculate response matrices, perform image deconvolution (specialized in list-mode-likelihood-based Compton image reconstruction), determine detector resolutions and sensitivities, retrieve spectra, determine polarization modulations, etc.

For a more complete list of features and more documentation please visit MEGAlib's homepage.

Installation

To run, MEGAlib requires ROOT and Geant4 to be installed. MEGAlib's setup.sh script will automatically install the correct version of those libraries for you. For all the installation details, please consult the setup page on MEGAlib's homepage.

About

MEGAlib - the Medium-Energy Gamma-ray Astronomy library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 93.6%
  • Shell 3.9%
  • GLSL 1.0%
  • Makefile 0.8%
  • Python 0.4%
  • C 0.3%