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

Absorption calculation stability #118

Open
pawel21 opened this issue Mar 24, 2022 · 1 comment
Open

Absorption calculation stability #118

pawel21 opened this issue Mar 24, 2022 · 1 comment

Comments

@pawel21
Copy link
Collaborator

pawel21 commented Mar 24, 2022

Hi,

I deal with absorption from multi shell in BLR.
I found strange behaviour: when increasted r - distance of the blob from the Black Hole, absorption sometimes it increases sometimes it increases or sometimes go to very very low value.
Here plot absorption vs r for E = 1e5 MeV.
obraz

I am attaching notebook with my code.
absorption_blr.ipynb.zip

@jsitarek
Copy link
Collaborator

just to add some more information on this. I suspect that it is connected with #86 - the integrals that are used in agnpy just sum up over a given grid of points, if one of the grid points of the BLR shell ends up close to the one of the photon path grid points you end up with a large addition to the optical depth and strong absorption. This can sometimes happen for a single line, and when many lines are summed up at different distance it becomes even more possible to get it in one of the lines.

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

2 participants