You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
# Reformat CRPropa2 tables of differential spectrum of secondary electrons
# This should be reimplemented for extension to the other backgrounds,
# cross-checking and documentation.
# -------------------------------------------------
d1 = np.genfromtxt('tables/EPP/pair_spectrum_cmb.table', unpack=True)
d2 = np.genfromtxt('tables/EPP/pair_spectrum_cmbir.table', unpack=True)
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:
Does anyone know where these scripts are and how they work?
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
The text was updated successfully, but these errors were encountered:
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:
Cheers,
Mario
The text was updated successfully, but these errors were encountered: