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
The zeroth order thing we want to check is whether the fact that ngmix relies on finite differences to measure the gradients can have a measurable impact on the response matrix, on a galaxy per galaxy basis, and more importantly for a sample of galaxies.
I'm gonna start by ctr+c/ctr+v a preliminary plot made by @andrevitorelli showing the relative error between responses as measured by finite diff vs auto diff on a galaxy per galaxy basis:
(showing the results for various SNR from 10 to 1000)
This would seem to indicate that the relative gradient error would can be of order 1%, but that's on a galaxy per galaxy basis.
For the penultimate question, I will do the tf vs ngmix test on different levels of shear, and see the residual m between AD & FD respective to different step sizes.
The zeroth order thing we want to check is whether the fact that ngmix relies on finite differences to measure the gradients can have a measurable impact on the response matrix, on a galaxy per galaxy basis, and more importantly for a sample of galaxies.
Things to do for this:
Should we worry about using finite differences in practice?
The text was updated successfully, but these errors were encountered: