CRPropa / CRPropa3

CRPropa is a public astrophysical simulation framework for propagating extraterrestrial ultra-high energy particles. https://crpropa.github.io/CRPropa3/
https://crpropa.desy.de
GNU General Public License v3.0
65 stars 66 forks source link

README for premade lenses? #402

Closed angelinapartenheimer closed 1 year ago

angelinapartenheimer commented 1 year ago

Hello,

I was wondering if there is any information about how the premade lenses at https://www.desy.de/~crpropa/data/magnetic_lenses/ are created. The lens I made using the backtracking simulation and createlens.py codes listed here https://crpropa.github.io/CRPropa3/pages/example_notebooks/galactic_backtracking/galactic_backtracking.v4.html on the documentation page is not able to recreate the example at https://crpropa.github.io/CRPropa3/pages/example_notebooks/galactic_lensing/lensing_cr.v4.html. I was hoping that some information on how a premade lens was created could shed light on my issue.

Thanks so much, Angelina Partenheimer

rafaelab commented 1 year ago

Hi Angelina, Information on how to create a lens is available on the documentation, under Galactic Backtracking. At the end of the page there is a section on how to generalise the example provided. The script linked on this page allows you to create the lens.