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

Have WFSS simulations optionally use pickle files of sources #779

Merged
merged 4 commits into from
Jun 21, 2022

Conversation

bhilbert4
Copy link
Collaborator

@bhilbert4 bhilbert4 commented Mar 30, 2022

These are changes implemented by @NorPirzkal

In this code, catalog_seed_image() saves individual sources and their associated segmentation maps in pickle files, which the disperser then picks up and uses to do the dispersion. By working on individual sources this way, overlapping sources are all handled correctly.

The pickle files are optional. If they do not exist, then the behavior is the same as it has been.

The last note I saw about this on slack, Nor said it is only implemented for point sources and galaxies.

  • Check if this is the case, and implement for all sources if necessary

@NorPirzkal anything to add? This is the code you posted to slack on Feb 15.

@bhilbert4
Copy link
Collaborator Author

Code changes were actually made by @NorPirzkal, so I can serve as reviewer.

@bhilbert4
Copy link
Collaborator Author

These updates look good to me. Merging.

@bhilbert4 bhilbert4 merged commit 6732a92 into spacetelescope:master Jun 21, 2022
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.

1 participant