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
Follow hadronic gamma rays
You Might Also Like
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of hadronic gamma rays!