Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with EBL absorption #99

Open
jsitarek opened this issue Jul 5, 2021 · 0 comments
Open

problem with EBL absorption #99

jsitarek opened this issue Jul 5, 2021 · 0 comments

Comments

@jsitarek
Copy link
Collaborator

jsitarek commented Jul 5, 2021

I tried to plot EBL absorption from agnpy, however got really strange results.
See the attached notebook.
ebl_absorption_check.ipynb.gz

I think that the underlying fits files with the EBL models are buggy.

In addition there are two problems:

  1. if one tries to interpolate beyond the z range (or energy range) of the model it tries either way.
    I think that the extrapolation in energy should work such that it gives tau = 0 below the min energy and tau = infinity above the highest energy

  2. the interpolation is done in the attenuation space, which can change very fast, I think it is much better choice to interpolate tau, and compute the absorption from it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant