Skip to content

Conversation

@bhilbert4
Copy link
Collaborator

Some fixes to the wisp_finder to speed up execution and make the prediction more accurate.

NaNs in the data were being transformed into black boxes that covered much of the field of view. This PR introduces an interpolation scheme to overwrite NaN pixels.

Also, the matplotlib figures are now explicitly closed, so as not to continue to take up memory after they are used in the prediction.

@bhilbert4 bhilbert4 self-assigned this Sep 30, 2025
Copy link
Collaborator

@york-stsci york-stsci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Copy link
Collaborator

@york-stsci york-stsci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@mfixstsci mfixstsci merged commit 9ca5373 into spacetelescope:develop Sep 30, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants