Skip to content

Releases: astropy/specutils

V1.8.1

09 Sep 17:27
Compare
Choose a tag to compare

Bug Fixes

  • Arithmetic with constants and Spectrum1D now works in either order. [#964]

  • Fixed uncertainty propagation in FluxConservingResampler. [#976]

V1.8.0

22 Aug 15:30
Compare
Choose a tag to compare

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 explicit set_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

21 Feb 17:01
Compare
Choose a tag to compare

Bug Fixes

  • Fixed spectral_slab crashing when spectral_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

27 Jan 18:12
Compare
Choose a tag to compare

New Features

  • Added collapse methods to Spectrum1D (mean, median, max, min, sum). [#904, #906]

  • SpectralRegion and Spectrum1D now allow descending (in wavelength space) as
    well as ascending spectral values. [#911]

V1.5.0

23 Nov 17:23
05bead0
Compare
Choose a tag to compare

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 handles astropy.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 in astropy.modeling. [#891]

  • Spectrum1D.with_spectral_units now attempts to fall back on the spectral_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]

V1.4.1

17 Sep 17:07
2be5907
Compare
Choose a tag to compare

Minor bugfix release, see changelog.

v1.4.0

13 Sep 14:54
772a740
Compare
Choose a tag to compare

See change log for list of new features and bug fixes.

v1.3.1

27 Aug 17:03
Compare
Choose a tag to compare

See change log for list of new features and bug fixes.

v1.3

18 Jun 19:39
89a549a
Compare
Choose a tag to compare

See change log for list of new features and bug fixes.

v1.2

14 Mar 18:49
v1.2
Compare
Choose a tag to compare

See change log for list of new features and bug fixes.