Skip to content

Conversation

@bhilbert4
Copy link
Collaborator

Motivated by bad pixel monitor failures. This PR updates our function that creates a png from a given fits file. Previously the function assumed the fits file contained a 2D array, and failed if the array had some other number of dimentions. This fix allows 3D and 4D arrays to be used. An appropriate 2D array is extracted from the 3D or 4D array.

In the bad pixel monitor, this function had been failing because it was being given rateints files, which have 3 dimensions.

@bhilbert4 bhilbert4 self-assigned this Mar 13, 2024
@bhilbert4 bhilbert4 requested a review from mfixstsci March 13, 2024 16:47
@mfixstsci mfixstsci merged commit 8d5ebed into spacetelescope:develop Mar 13, 2024
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.

2 participants