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

Badpix from flats - averaging last 4 groups #111

Open
bhilbert4 opened this issue Apr 27, 2020 · 0 comments
Open

Badpix from flats - averaging last 4 groups #111

bhilbert4 opened this issue Apr 27, 2020 · 0 comments
Assignees

Comments

@bhilbert4
Copy link
Collaborator

In badpix_from_flats, for the dead flux check, we want to average the signal in the final 4 groups of each input ramp. Instead, at the moment, the code is averaging the signal in the first 4 groups.

group4[0, :, :] = np.mean(hdu_list['SCI'].data[:, 0, :, :], axis=0)
group4[1, :, :] = np.mean(hdu_list['SCI'].data[:, 1, :, :], axis=0)
group4[2, :, :] = np.mean(hdu_list['SCI'].data[:, 2, :, :], axis=0)
group4[3, :, :] = np.mean(hdu_list['SCI'].data[:, 3, :, :], axis=0)

@bhilbert4 bhilbert4 self-assigned this Apr 27, 2020
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