ndcube
ndcube copied to clipboard
Support Subtract and Division of NDCube by NDData
To Do
- [x] Add dask test
- [x] Rework subtraction to avoid in-place modification
- [x] Merge #887
@Cadair @wtbarnes: Docs on Arithmetic operations are now included in this PR. Please let me know if you have comments. If not, I'd appreciate an approval :)
@Cadair it looks like NDData(cube, wcs=None) doesn't actually set the wcs to None! https://github.com/sunpy/ndcube/actions/runs/18262220518/job/51991663154?pr=880
Oh, of course it doesn’t. Well balls.
I'm not really sure what the best option is in that case then.
Oh, of course it doesn’t. Well balls.
I'm not really sure what the best option is in that case then.
Dare a say it? NDCube.drop_coords() -> NDData?
Oh, of course it doesn’t. Well balls. I'm not really sure what the best option is in that case then.
Dare a say it?
NDCube.drop_coords()->NDData?
Do it