Cosmic-ray hadronic interaction matrices for gamma-ray and other secondaries for an interstellar medium target are available as described in Huang et al. Astroparticle Physics, 27, 429 (2007). These require significant effort in practice to compute emissivities for given input spectra. To supplement these matrices I provide here a C++ class which reads the matrices, interpolates on user-defined particle and gamma-ray energy grids, and computes the gamma-ray emissivity either differential or in user-defined bands. A sample user program is provided which can be edited to provide the required functionality.
See also http://sourceforge.net/projects/galprop, which includes more models.

Features

  • This is a first implementation using one particular formulation from the literature, and does not imply endorsement of this model. Others will follow.
  • more models available in http://sourceforge.net/projects/galprop, recommended to use that instead

Project Activity

See All Activity >

Categories

Astronomy, Physics

Follow hadronic gamma rays

hadronic gamma rays Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of hadronic gamma rays!

Additional Project Details

Intended Audience

Science/Research

Programming Language

C++

Related Categories

C++ Astronomy Software, C++ Physics Software

Registered

2013-01-27