From 2a3ac8bd430a4381e3562c0e3c4b058af68d45f5 Mon Sep 17 00:00:00 2001 From: Ricky O'Steen Date: Mon, 22 Nov 2021 17:30:08 -0500 Subject: [PATCH 1/2] Update changelog for 1.5.0 release Moved to new feature --- CHANGES.rst | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index bac95a3e4..c0ecba62a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,9 +1,16 @@ -1.5 (unreleased) ----------------- +1.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 handles ``astropy.nddata.Variance`` and + ``astropy.nddata.InverseVariance`` uncertainties instead of assuming + the uncertainty is standard deviation. [#899] + Bug Fixes ^^^^^^^^^ @@ -11,13 +18,19 @@ Bug Fixes - ``SpectralRegion`` can now handle pixels. [#886] +- Fix bug where ``template_comparison`` would return the wrong chi2 value. [#872] + Other Changes and Additions ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- 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. +- ``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] -- ``fit_lines`` now makes use of unit support in ``astropy.modeling``. +- Minor changes for astropy 5.0 compatibility. [#895] 1.4.1 ----- From 3abf0311f39b81080f25bb15d081eaffba6ae502 Mon Sep 17 00:00:00 2001 From: Ricky O'Steen Date: Tue, 23 Nov 2021 10:13:34 -0500 Subject: [PATCH 2/2] Update GWCS pin to more recent version with compatibility fixes --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 4ce726138..7efe97561 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,7 +18,7 @@ python_requires = >=3.7 setup_requires = setuptools_scm install_requires = astropy>=4.1 - gwcs!=0.16.0 + gwcs>=0.17.0 scipy asdf>=2.5 ndcube>=2.0