-
Notifications
You must be signed in to change notification settings - Fork 94
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
GNFW
does not have potential implemented
#466
Comments
Hi @jhod0, |
Thanks @jhod0 @sibirrer! I might try plugging into Mathematica later. (Although looking at the Munoz 2001 paper cited as the source of the profile, I assume the solution is quite messy.) For the near-term goal of simply computing predicted image positions for a source image, is there another solver that does not require the lens potential to be implemented? The undergrad who was running this code has been using Solver.image_position_from_source with the |
@jhod0 , the only part where the lens potential is requested in this routine is when sorting the images according to arrival times. I.e. if you set arrival_time_sort=False, you might not get an error. |
Hello - an undergrad I'm working with has run into a problem trying to run the lens equation solver with a generalized NFW profile. It fails saying that the GNFW profile has no potential implemented.
There's a comment in the docs so it looks like you're aware of it!
lenstronomy/lenstronomy/LensModel/Profiles/general_nfw.py
Line 24 in 97414b2
Is the problem just that it hasn't been implemented, or is there no analytic solution for it? If it's the former, I would be happy to help implement it 😄
The text was updated successfully, but these errors were encountered: