Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 981 Bytes

proton_synchrotron.rst

File metadata and controls

19 lines (13 loc) · 981 Bytes

Hadronic models: Proton Synchrotron Radiation

The proton synchrotron radiation is the simplest of the hadronic processes. agnpy implements it following the same calculation adopted for the synchrotron radiation from electrons <synchrotron>. [Cerruti2015] is used as a reference for the validation.

The ~agnpy.synchrotron.ProtonSynchrotron class works exactly as the ~agnpy.synchrotron.Synchrotron one. The blob we pass as argument though needs to have a proton particle distribution defined. The following example illustrates how to compute the proton synchrotron radiation from a simple power law of protons, and compares its radiation with that of the electrons.

snippets/p_synchro_snippet.py

Note that in this case, having not specified an electron distribution, a default one has been initialised by the ~agnpy.emission_regions.Blob.