A set of CRPropa 3 examples to demonstrate functionality and common use cases.
These are IPython notebooks (see here for more information). You can view these examples directly on github using the (notebook) links below. In case you want to modify and execute an example you need to download and run the notebook or python script locally.
- Basic usage (notebook) (py)
- 1D Simulation (notebook) (py)
- 4D Simulation (notebook) (py)
- 3D Trajectories (notebook) (py)
- Extragalactic fields from MHD simulations (notebook) (py)
- Galactic backtracking (notebook) (py)
- Galactic trajectories (notebook) (py)
- Galactic lensing - cosmic rays (notebook) (py)
- Galactic lensing - probability maps (notebook) (py)
- Galactic Lensing - confirm liouville (notebook) (py)
- Secondary photons (notebook) (py)
- Secondary neutrinos (notebook) (py)
- Magnetic diffusion (notebook) (py)
- Custom observer (notebook) (py)
An additional use case is provided by Francesca Capel, which was used in this publication: Mon. Not. Roy. Astron. Soc. 484 (2019) no. 2, 2324: