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
It seems that the redshift evolution is ignored in the current implementation of the PhotoPionProduction. Even for non CMB target fields the redshift dependence is turned off as for intended for the CMB.
To Reproduce
from crpropa import *
EBL = IRB_Finke10
PPP = PhotoPionProduction(EBL, True, True, True, True, 0.1, True)
Expected behavior
No output
I have not checked any simulation results. However, the file rate_IRBz_Finke10.txt is not opened as I would have expected when including the redshift evolution.
The text was updated successfully, but these errors were encountered:
Description
It seems that the redshift evolution is ignored in the current implementation of the PhotoPionProduction. Even for non CMB target fields the redshift dependence is turned off as for intended for the CMB.
void PhotoPionProduction::setPhotonField(PhotonField field) { photonField = field; if (haveRedshiftDependence) { std::cout << "PhotoPionProduction ... " << std::endl; haveRedshiftDependence == false; } ... }
To Reproduce
from crpropa import *
EBL = IRB_Finke10
PPP = PhotoPionProduction(EBL, True, True, True, True, 0.1, True)
Expected behavior
No output
I have not checked any simulation results. However, the file rate_IRBz_Finke10.txt is not opened as I would have expected when including the redshift evolution.
The text was updated successfully, but these errors were encountered: