v2.0.0
See https://specutils.readthedocs.io/en/latest/#changes-in-version-2 for more details about major changes between version 1.x and 2.x.
New Features
-
Spectral axis can now be any axis, rather than being forced to be last. See docs
for more details. [#1033, #1226] -
specutils.Spectrumnow properly handles GWCS input for wcs attribute. [#1074] -
JWST reader no longer transposes the input data cube for 3D data and retains
full GWCS information (including spatial). [#1074] -
Spectrum1Drenamed toSpectrum. [#1126]
Other Changes and Additions
-
Initializing a
Spectrumwith only a spectral axis (not full WCS) will now
result in a GWCS matching the dimensionality of the flux array, rather than a
1D spectral GWCS in all cases. [#1211, #1222] -
Spectrum arithmetic now checks whether the spectral axes of the two operand
Spectrum
objects are equal, and fails if they are not. [#1211] -
Added documentation about transitioning from 1.x to 2.x. [#1226]