create_cosmic_ray_spectral_model

gammapy.modeling.models.create_cosmic_ray_spectral_model(particle='proton')[source]

Cosmic a cosmic ray spectral model at Earth.

These are the spectra assumed in this CTA study: Table 3 in https://ui.adsabs.harvard.edu/abs/2013APh….43..171B

The hadronic spectra are simple power-laws, the electron spectrum is the sum of a power law and a log-normal component to model the “Fermi shoulder”.

Parameters:
particle : {‘electron’, ‘proton’, ‘He’, ‘N’, ‘Si’, ‘Fe’}

Particle type

Returns:
flux : Quantity

Cosmic ray flux in unit m^-2 s^-1 TeV^-1 sr^-1