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

on-the-fly PSFs have a subpixel offset relative to precomputed library PSFs #13

Open
kvangorkom opened this issue Mar 9, 2017 · 0 comments

Comments

@kvangorkom
Copy link
Owner

When the Pandeia library PSFs are generated, the requested offsets for the PSFs are forced to nearest integer upsampled pixel, and then recentered by a simple pixel remapping after the call to WebbPSF (so the convolution kernel created from the PSF is centered). For on-the-fly PSFs, I've intentionally avoided forcing the offset to an integer multiple of the upsampled pixel, since we care (particularly for MIRI) about small changes to these spatially-dependent PSFs. However, the pixel remapping approach then has the side effect of producing a slightly off-center convolution kernel.

Possible mitigation strategies: interpolate the PSF for the centering step (I really don't want to do this), or adopt a higher upsampling value.

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

No branches or pull requests

1 participant