Skip to content
Merged

V1.8 #301

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,25 @@ jobs:
# NOTE: Uncomment "if" if you do not want this to run for every PR.
# if: ((github.event_name == 'push' && startsWith(github.ref, 'refs/tags')) || contains(github.event.pull_request.labels.*.name, 'Build wheels'))
with:
save_artifacts: true
upload_to_pypi: false
test_extras: test
test_command: pytest $GITHUB_WORKSPACE/specreduce/tests
secrets:
pypi_token: ${{ secrets.PYPI_API_TOKEN }}

upload:
if: startsWith(github.ref, 'refs/tags/v')
name: Upload built artifacts to PyPI
runs-on: ubuntu-latest
needs: [ publish ]
permissions:
id-token: write
steps:
- name: Download artifacts
uses: actions/download-artifact@v7
with:
merge-multiple: true
pattern: dist-*
path: dist

- name: Run upload
uses: pypa/gh-action-pypi-publish@release/v1
22 changes: 18 additions & 4 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,24 +1,38 @@
1.8.0 (2026-01-xx)
1.8.0 (2026-02-24)
------------------

New Features
^^^^^^^^^^^^

- Added uncertainty propagation to ``specreduce.extract.BoxcarExtract`` and
``specreduce.extract.HorneExtract``. The extracted spectra have now proper uncertainties.
[#295, #296]

- Added uncertainty propagation to ``specreduce.background.Background``. The
``bkg_image()``, ``bkg_spectrum()``, ``sub_image()``, and ``sub_spectrum()`` methods
now return spectra with proper uncertainties. When input image has uncertainty, it is
propagated using variance formulas appropriate for the chosen statistic. When no
uncertainty is provided, it is estimated from the flux values in the background region.
uncertainty is provided, it is estimated from the flux values in the background region. [#297]

- Added optional ``sigma`` parameter to ``specreduce.background.Background`` for sigma
clipping outlier rejection in background estimation. Default is 5.0; set to ``None``
to disable.
to disable. [#297]

API Changes
^^^^^^^^^^^

- Removed ``specreduce.compat`` module and migrated all internal code to use
``specutils.Spectrum`` directly. This breaks compatibility with specutils 1.x.
Users must update to specutils ≥2.0. [#299]

- Bumped minimum dependency versions: specutils ≥2.0, astropy ≥6.0,
scipy ≥1.14, photutils ≥1.11. These increases are required for
specutils 2.0 compatibility. [#299]

Other changes
^^^^^^^^^^^^^

- Changed to use ``sphinx_astropy.conf.v2`` and revised the documentation.
- Changed to use ``sphinx_astropy.conf.v2`` and revised the documentation. [#275]

1.7.0 (2025-11-13)
------------------
Expand Down
Binary file modified docs/roadmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.