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

PSFs and weights come out different in g+ and g- cases #4

Open
seccolf opened this issue Feb 28, 2022 · 1 comment
Open

PSFs and weights come out different in g+ and g- cases #4

seccolf opened this issue Feb 28, 2022 · 1 comment

Comments

@seccolf
Copy link
Collaborator

seccolf commented Feb 28, 2022

When running sims with positive and negative g1=+-0.02, our expectation was that only galaxy images would change and everything else that gets saved in the MEDS files (eg weights and PSFs would be the same). That does not seem to happen.

Taking a large number of cutouts from the simulated gplus and gminus MEDS and computing ratios of the weight images then plotting the distribution of those ratios I get the plot below. The difference is fairly small (we conjecture it's simply coming from the compression of the MEDS files).
Screen Shot 2022-02-28 at 11 16 11 AM

However the same exercise for the PSFs shows a larger difference, with >~1% of the pixels showing more than >~5% change in the PSFs, seen below.
Screen Shot 2022-02-28 at 10 50 45 AM

@seccolf
Copy link
Collaborator Author

seccolf commented Feb 28, 2022

Things that can be checked:

  1. Compression: attempt the same test above in fits files as opposed to the fpacked fits.fz
  2. Unit test: output weight and psf images at the galsim stage (or really anytime before the images get written into the MEDS files). If there is already a difference in the output at that point, then obviously the MEDS stage is not the only problem.

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