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

FIX: dark frame array broadcast #7

Merged
merged 1 commit into from
May 9, 2024
Merged

Conversation

maffettone
Copy link
Contributor

TIL Xarray will resist array broadcasting because it treats dimensions like things that should be labeled and wants you to be extra explicit.

For dark frames, it seems appropriate to drop this to a numpy array, and then xarray will do the broadcasting.

@EliotGann EliotGann merged commit 6360db9 into main May 9, 2024
1 check failed
@EliotGann EliotGann deleted the fix-dark-frame-broadcast branch May 9, 2024 15:18
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