astropy / astropy/photutils

GriddedPSFModel evaluated PSFs with the same input flux have very different output fluxes

Open
#1,262 3 comments 0 reactions 0 assignees View on GitHub
psf
Dominant language
Python
Stars
307
Forks
156
Avg merge
56m
Merged PRs (30d)
58

Description

This has been tested with a GriddedPSFModel created out of a set of webbpsf Roman WFI apertures, using the sample code below. Note that instead of using webbpsf directly to create the PSF grid, instead the grid is created image-by-image and put into an NDData array after creation. This is because webbpsf currently does not preserve parity for even oversamples, and the simulator that I'm using these models for requires odd parity to build its EPSF models.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported flux discrepancy with a GriddedPSFModel built from the webbpsf Roman WFI aperture images and the sample setup referenced in the issue. Trace how equal input fluxes are evaluated and compare the resulting output fluxes; done means the model produces consistent output fluxes for PSFs with the same input flux.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.