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

Rough attempt at ignoring units for rebin #744

Merged
merged 6 commits into from
Jul 9, 2024
Merged

Rough attempt at ignoring units for rebin #744

merged 6 commits into from
Jul 9, 2024

Conversation

nabobalis
Copy link
Member

@nabobalis nabobalis commented Jul 8, 2024

One way to do it.

Context:
sunpy.map.superpixel requireds astropy units as input.

rebin does not enforce this but a lot of superpixel code has units attached, so making that work with those would be a better idea than making users drop the pixel units.

@nabobalis nabobalis added this to the 2.3.0 milestone Jul 8, 2024
@nabobalis nabobalis marked this pull request as ready for review July 8, 2024 19:00
@Cadair
Copy link
Member

Cadair commented Jul 9, 2024

@DanRyanIrish do you have philosophical objections to this?

Co-authored-by: Stuart Mumford <[email protected]>
@nabobalis
Copy link
Member Author

I just spoke to him via carrier pigeon, he said he approves.

@nabobalis nabobalis merged commit 6611d7e into main Jul 9, 2024
19 checks passed
@nabobalis nabobalis deleted the rebin branch July 9, 2024 22:36
@DanRyanIrish
Copy link
Member

@DanRyanIrish do you have philosophical objections to this?

I'm ok with this

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.

3 participants