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

Update Euclid-like PSF normalization to remove obscuration #86

Merged
merged 7 commits into from
Sep 26, 2024

Conversation

FedericoBerlfein
Copy link
Collaborator

PSF images provided are normalized for obscuration, vignetting and baffle effects. However, GalSim internally handles the obscuration, so we remove this part of the normalization by dividing the PSF images by collecting_area / ((diameter/2)**2*np.pi).

@FedericoBerlfein FedericoBerlfein linked an issue Sep 26, 2024 that may be closed by this pull request
Copy link
Member

@rmandelb rmandelb left a comment

Choose a reason for hiding this comment

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

Suggested putting a few more details in the comments, but the code is fine

euclidlike/euclidlike_psf.py Outdated Show resolved Hide resolved
euclidlike/euclidlike_psf.py Outdated Show resolved Hide resolved
FedericoBerlfein and others added 2 commits September 26, 2024 14:32
Co-authored-by: Rachel Mandelbaum <[email protected]>
Co-authored-by: Rachel Mandelbaum <[email protected]>
tests/test_psf.py Outdated Show resolved Hide resolved
@rmandelb
Copy link
Member

New test is exactly what I had in mind, thanks.

Co-authored-by: Rachel Mandelbaum <[email protected]>
@FedericoBerlfein FedericoBerlfein merged commit b438abd into main Sep 26, 2024
2 checks passed
@FedericoBerlfein FedericoBerlfein deleted the fb/psf_normalization branch September 26, 2024 19:52
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.

PSF normalization
2 participants