Closed xpzhang closed 1 year ago
Version 2 will improve this. It will be released in few weeks.
I checked and the code is not slow. I suspect that you did not set a reasonable range for the momuntum. Please note that, in the Gaisser parametrization if p is small J diverges...
Hello, When I use GenerateFromCustomJ() with a user-defined differential flux function, same with the example code in the paper:
The generation gets very slow (several tenth slower compared to the pre-defined J. What can I do to improve the performance? Thanks.