-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Subset refactor part 1: new get_data API (#1984)
* First draft of refactor planning * Add new get_data method to ConfigHelper * Cover case where subsets_to_apply is None * Update comments and raise valueerror if valid data_label not provided * Address review comments * Remove unused imports * Fix f-string issue * Move if statement outside loop * Move cls code * Change cls to be None by default * Rearrange cls and subset_to_apply blocks * Fix docstrings * Add tests in imviz and specviz2d * Cover specviz2d specific line with test * Add more tests * Remove concept notebook * Remove changes to notebooks * Add check for statistic values * Remove percentile from statistic options * Remove percentile from docstring too * Fix bug with imviz data and Subset 1 not returning an NDData object * Fix code after last commit and add tests * Return spectrum1d obj in specviz2d with data of shape 2 * Only allow statistic to be set in cubeviz * Update changes file
- Loading branch information
Showing
7 changed files
with
220 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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