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

ENH apodize the pre-PSF moments #210

Merged
merged 3 commits into from
Nov 30, 2021
Merged

ENH apodize the pre-PSF moments #210

merged 3 commits into from
Nov 30, 2021

Conversation

beckermr
Copy link
Collaborator

This PR adds apodization for the pre-PSF moments and tests that it does the right thing.

@beckermr beckermr marked this pull request as ready for review November 27, 2021 00:37
@beckermr beckermr requested a review from esheldon November 29, 2021 19:40
@beckermr
Copy link
Collaborator Author

This one is ready for review!



@pytest.mark.parametrize("flux_factor", [1e2, 1e3, 1e5])
def test_prepsfmom_apodize(flux_factor):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are better, but how good are they? Does the zero case have bad ringing, and is the resulting moments very bad, but not so for the apodized?

I wonder if the ringing would also produce spurious detections.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The differences can be significant for stamps with bright sources on the edge.

I don't get the spurious detection question. We aren't detecting anything here.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I know you aren't detecting but I'm curious if one would see spurious detections if one was detecting. Anyway, out of scope for this.

@beckermr beckermr merged commit ebb4411 into master Nov 30, 2021
@beckermr beckermr deleted the msk branch November 30, 2021 02:06
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.

2 participants