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

Improve PSF modeling on L3 images #1495

Open
schlafly opened this issue Nov 5, 2024 · 0 comments
Open

Improve PSF modeling on L3 images #1495

schlafly opened this issue Nov 5, 2024 · 0 comments

Comments

@schlafly
Copy link
Collaborator

schlafly commented Nov 5, 2024

We compute PSF fluxes and positions on both L2 and L3 images. On L2 images, this makes sense and is well defined. On L3 images, it's less clear how to do this well, since the PSF is spatially variable and the input L3 image is likely a combination from different locations of input L2 images, and we don't want to track that level of detail.

Currently we make up a PSF for the L3 image by using a particular SCA. We should improve that in the following ways:

  • We should account for different pixel scales of the L3 image relative to the L2 image.
  • We should blur the L3 PSF by an additional box convolution according to the drizzle pixfrac
  • We should azimuthally average the PSF so that we are not including small-scale structure we don't really know anything about.

This should likely take the form of a new function in
https://github.com/spacetelescope/romancal/blob/main/romancal/lib/psf.py
that is analogous to create_gridded_psf_model, and likewise outputs a PSF model object that can be passed to fit_psf_to_image_model.

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