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

Obs creation from segmented images #571

Merged
merged 4 commits into from
Oct 21, 2020

Conversation

bhilbert4
Copy link
Collaborator

This PR fixes a bug where cases with multiple seed image files but a single dark file was failing. I made a small update to the mapping function in obs_generator for this. I found this error while running a case where the seed image was broken into 2 files (part1 and part2), while the dark image was not. This was primarily because the observation used a subarray and a SHALLOW readout pattern, and the 5x difference between the number of frames and the number of groups pushed the seed image over the file splitting threshold. With this fix, the general case where there is a different number of seed image files compared to dark files, the mapping should be done correctly.

@bhilbert4 bhilbert4 merged commit ca49664 into spacetelescope:master Oct 21, 2020
@bhilbert4 bhilbert4 deleted the tso-imaging-log branch October 21, 2020 19:58
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.

1 participant