-
-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix with_spectral_axis when Spectrum1D instantiated with a spectral_axis * Deprecate old method name, new one is more specific * Works for WCS-initialized spectra as well * Remove unneeded imports * Add kwarg default * Add copy and deepcopy methods Codestyle * Update specutils/spectra/spectrum_mixin.py Co-authored-by: Derek Homeier <709020+dhomeier@users.noreply.github.com> * Add changelog entry * Test to make sure we kept the old WCS in meta * Better name for meta attribute, add test for it * Apply suggestions from code review Co-authored-by: Derek Homeier <709020+dhomeier@users.noreply.github.com> * Fix codestyle * Update docstring Co-authored-by: Derek Homeier <709020+dhomeier@users.noreply.github.com> * Change docstring to fix docs build failure. Also fixed some incorrect references to SpectralRegion * Fix one more SpectralRegion reference --------- Co-authored-by: Derek Homeier <709020+dhomeier@users.noreply.github.com>
- Loading branch information
Showing
6 changed files
with
104 additions
and
75 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