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

Adds testing script to compare against ngmix #37

Closed
wants to merge 3 commits into from

Conversation

EiffL
Copy link
Member

@EiffL EiffL commented Nov 6, 2021

This adds a comparison to https://github.com/esheldon/ngmix/blob/9910e9297525d6fafb9a41fac43a91b5d4ef4b37/examples/metacal/metacal.py

Also reverts back to standard ellipticity definition for easier direct comparison to ngmix

@EiffL EiffL requested a review from andrevitorelli November 6, 2021 19:54
@EiffL EiffL linked an issue Nov 6, 2021 that may be closed by this pull request
@EiffL EiffL mentioned this pull request Nov 6, 2021
@EiffL
Copy link
Member Author

EiffL commented Nov 14, 2021

@andrevitorelli could you add as an option to this script to run autometacal in "finite diff" mode?

This is quite useful actually to figure out where problems can come from.

@andrevitorelli
Copy link
Contributor

@andrevitorelli could you add as an option to this script to run autometacal in "finite diff" mode?

This is quite useful actually to figure out where problems can come from.

Yes, sure. I have it coded in a separate but local branch. Later today I'll push this to origin. But, just as a comment, I reintroduced my finitediff function to the metacal.py module to do it.

…testing

Adds finite differences testing within autometacal to ngmix tests
@andrevitorelli
Copy link
Contributor

@EiffL , I'll close this as soon as I output individual shape measurements from the finitediff function.

@EiffL EiffL closed this Mar 29, 2022
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

Successfully merging this pull request may close these issues.

Comparison to ngmix.example.metacal.metacal.py
2 participants