Releases: astropy/specutils
v1.15.0
v1.14.0
v1.13.0
New Features
-
Added SDSS-V file format readers. [#1107]
-
Switched from using
numpy.correlate
toscipy.signal.correlate
intemplate_correlate
and enabled passing through themethod
argument. [#1114] -
Added DESI file format readers. [#1116]
-
Added
truncate
option for resampler and template correlation extrapolation treatment. [#1121]
Bug Fixes
-
SDSS reader now properly exposes the
spPlate_identify
andspPlate_loader
functions. [#1097] -
Masks now round-trip through tabular-fits reader/write. [#1104]
-
template_correlate
no longer errors when used on aSpectrum1D
that lacks an
uncertainty
array. [#1118] -
with_spectral_unit
has been changed towith_spectral_axis_unit
and actually works
now. [#1119] -
Template correlation functions now truncate to overlapping region to avoid NaNs in normalization
when spectrum and template have non-overlapping regions. [#1121] -
Fixed numpy error when printing a
Spectrum1D
object. [#1123]
Other Changes and Additions
v1.12.0
v1.11.0
New Features
wcs1d-fits
loader now reads and writes boolean masks. [#1051]
Bug Fixes
-
Reimplementation of FluxConservingResampler. It is now faster and yields more accurate results. [#1060]
-
Fixed uncertainty calculations in centroid and gaussian width functions, also added an option
to use anastropy.uncertainty
distribution instead of the analytic solution. [#1057]
Other Changes and Additions
v1.10.0
New Features
-
wcs1d-fits
loader now reads and writes celestial components of
of multi-dimensional WCS, and handlesmask
anduncertainty
attributes. [#1009] -
Added support for reading from files with flux in counts. [#1018]
Bug Fixes
-
Fixed
SpectralAxis.with_observer_stationary_relative_to
to actually
return the updated spectral axis. [#992] -
Fixed region extraction for axes/regions in units of
u.pix
. [#1001] -
tabular-fits
writer now properly converts uncertainties toStdDevUncertainty
if needed. [#1027] -
Fix bug in
fit_lines
which gave unexpected outputs from theget_fit_info
andignore_units
keyword arguments. [#1030] -
Fix SNR calculations with both masks and regions. [#1044]
Other Changes and Additions
-
Added some basic documentation for
Spectrum1D.write
. [#1017] -
JWST s2d and s3d readers now requires the optional dependency,
stdatamodels
,
which user has to install separately. [#1038] -
ASDF tag for Spectrum1D is now compatible with ASDF v3.
As a result, minversion ofasdf
has been bumped to 2.14.
Redundant ASDF schema forSpectralCoord
is removed.
It also now supportsmask
serialization. [#1042, #1053] -
JWST X1D reader will no longer raise a
UnitWarning
for surface brightness
error. [#1050]
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]