Releases: astropy/specutils
v1.9.1
v1.9.0
Bug Fixes
- Fix bug in fitting with weights if weights argument is set to 'unc'. [#979]
- Fix bug in JWST reader which caused multi-extension files to load only the
primary HDU [#982] - Implemented conversion to expected uncertainty type in a few functions that
were still just assuming the uncertainty was the correct type. [#984]
Other Changes and Additions
- Bumped astropy minimum version to 5.1. [#984]
V1.8.1
V1.8.0
New Features
-
Implemented uncertainty propagation for analysis functions. [#938, #939, #961, #968]
-
Model fitting with
fit_lines
now returns uncertainties from the underlying scipy
fitter by default. [#962]
Bug Fixes
-
Fixed a bug with moment map orders greater than 1 not being able to handle
cubes with non-square spatial dimensions. [#970] -
Added a workaround for reading JWST IFUs with incorrect GWCS. [#973]
Other Changes and Additions
-
The Spectrum1D redshift and radial_velocity attribute setters were deprecated
in favor of the more explicitset_redshift_to
,shift_spectrum_to
, and
set_radial_velocity_to
methods. [#946, #943] -
estimate_line_parameters
now calculates estimates based on the selected
region, rather than the entire spectrum. [#962]
V1.7.0
Bug Fixes
-
Fixed
spectral_slab
crashing whenspectral_axis
has unit of pixels and
the bounds are also defined in the unit of pixels. [#926] -
Fixed resulting
spectral_axis
containing NaN when a cube is passed into
Spectrum1D
without WCS nor spectral axis and the spatial-spatial dimension
is smaller than spectral dimension. [#926] -
Fixed WCS not accurately reflecting the updated spectral axis after slicing a
Spectrum1D
. [#918]
Other Changes and Additions
- Logger usage is removed. Warnings now issued using Python
warnings
module.
This enables more granular warning control for downstream packages. [#922]
V1.6.0
V1.5.0
New Features
^^^^^^^^^^^^
-
Convolution-based smoothing will now apply a 1D kernel to multi-dimensional fluxes
by convolving along the spectral axis only, rather than raising an error. [#885] -
template_comparison
now handlesastropy.nddata.Variance
and
astropy.nddata.InverseVariance
uncertainties instead of assuming
the uncertainty is standard deviation. [#899]
Bug Fixes
^^^^^^^^^
-
Speed up JWST s3d loader and reduce memory usage. [#874]
-
SpectralRegion
can now handle pixels. [#886] -
Fix bug where
template_comparison
would return the wrong chi2 value. [#872]
Other Changes and Additions
^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
fit_lines
now makes use of unit support inastropy.modeling
. [#891] -
Spectrum1D.with_spectral_units
now attempts to fall back on thespectral_axis
units if units could not be retrieved from the WCS. [#892] -
ndcube
package pin updated to released version (2.0). [#897] -
Minor changes for astropy 5.0 compatibility. [#895]