Open MHoerbe opened 4 years ago
Hi @Froehliche-Kernschmelze For the moment I can just add to this discussion, that I alos stumbled over these lines a couple of month ago. I mentioned this briefly during the discussion of #255. However, I will help to investigate this.
Hi everyone,
for the future custom photon fields to properly work on the ElectronPairProduction module, I need to be able to reproduce the data files being read in by this module. There is supposed to be one background photon file for each background, however, with only the CMB and the IRB_Kneiske04 existing for this module.
A look into the CRPropa3-data repo where there is a script calc_pairproduction.py responsible for generating data related to the ElectronPairProduction module revealed:
The tables which are loaded to exist in the data repo yet I could not find any script producing these (and in particular not in the CRPropa2 repository). Hence, I see two ways to proceed here:
1) Does anyone know where these scripts are and how they work? 2) Does anyone have an idea what exact data these tables contain beyond "spectra of secondary electrons"? Since then we could try and construct our own, new ones?
Cheers, Mario