-
-
Notifications
You must be signed in to change notification settings - Fork 53
Support Subtract and Division of NDCube by NDData #880
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
Open
DanRyanIrish
wants to merge
38
commits into
sunpy:main
Choose a base branch
from
DanRyanIrish:nddataArithmetic2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+642
−10
Open
Changes from 33 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
0838785
Enable subtraction of NDCube and NDData.
DanRyanIrish af3220f
Enable division of NDCube by NDData.
DanRyanIrish 2627534
Add 880 changelog.
DanRyanIrish 9144d50
Merge branch 'main' of https://github.com/sunpy/ndcube into nddataAri…
DanRyanIrish 30e4330
Add NDCube-NDData arithmetic tests for subtraction and division that …
DanRyanIrish f73e649
Remove in-place modification in NDCube arithmetic subtraction.
DanRyanIrish 5671bde
Remove duplicate test.
DanRyanIrish 83c9f3d
Fix bug whereby adding unitful NDCube and NDData did not output resul…
DanRyanIrish 5acbd35
Add more tests of dask-backed arithmetic operations.
DanRyanIrish 4baa3b0
Remove duplicate test.
DanRyanIrish 1bcd97f
First commit of docs explaining arithmetic operations.
DanRyanIrish f3f07b5
Next commit on docs explaining arithmetic operations.
DanRyanIrish f253650
Rename arithmetic operations docs file and next commit in arithmetic …
DanRyanIrish e09b892
Fix codestyle.
DanRyanIrish 4ee0a50
Merge branch 'main' of https://github.com/sunpy/ndcube into nddataAri…
DanRyanIrish 8ca5c5b
Fix bugs in arithmetic docs.
DanRyanIrish 8eff1b5
Next commit on arithmetic docs.
DanRyanIrish 237c90a
First complete draft of arithmetic docs.
DanRyanIrish 9f9805f
Updates to arithmetic docs.
DanRyanIrish a58a231
Updates to arithmetic docs.
DanRyanIrish 212d013
Fix bug raising error when two coordinate aware objects are combined …
DanRyanIrish 23a589b
Updates arithmetic docs.
DanRyanIrish 12faeac
Update arithmetic docs.
DanRyanIrish 7c949fb
Merge branch 'main' of https://github.com/sunpy/ndcube into nddataAri…
DanRyanIrish ffd916c
Merge branch 'to_nddata' into nddataArithmetic2
DanRyanIrish 8f1534f
Fix undefined variable in arithmetic docs.
DanRyanIrish d7a595d
More fixes to arithmetic docs.
DanRyanIrish fc2974b
Merge branch 'to_nddata' into nddataArithmetic2
DanRyanIrish f943aca
doc formatting fix.
DanRyanIrish 655dba9
Merge branch 'to_nddata' into nddataArithmetic2
DanRyanIrish cb3c15d
Fix test of to_nddata to ndcube.
DanRyanIrish ac980d7
Merge branch 'to_nddata' into nddataArithmetic2
DanRyanIrish 881168c
Mention motivating use case of arithmetic operations in NDCube.to_ndd…
DanRyanIrish 9088ed0
Merge branch 'to_nddata' into nddataArithmetic2
DanRyanIrish 2d70757
Merge branch 'to_nddata' of https://github.com/DanRyanIrish/ndcube in…
DanRyanIrish 1e7da64
Merge branch 'main' of https://github.com/sunpy/ndcube into nddataAri…
DanRyanIrish c2f932b
Merge branch 'main' of https://github.com/sunpy/ndcube into nddataAri…
DanRyanIrish 9c86e78
Apply suggestions from code review
DanRyanIrish File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Adding unitful `~ndcube.NDCube` and ``astropy.nddata.NDData`` objects backed by ``dask`` did not preserve underlying arrays as ``dask`` arrays. This is now fixed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix bug where error was returned rather than raised with trying to perform arithmetic operation between `~ndcube.NDCube` and an object whose WCS attribute is not ``None``. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Enable subtraction and division of `~ndcube.NDCube` by an `~astropy.nddata.NDData` instance, including uncertainty, mask and unit support. | ||
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ Explaining ``ndcube`` | |
tabular_coordinates | ||
reproject | ||
visualization | ||
arithmetic |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.