TOMToolkit / tom_base

The base Django project for a Target and Observation Manager
https://tom-toolkit.readthedocs.io
GNU General Public License v3.0
26 stars 47 forks source link

Bump specutils from 1.15.0 to 1.16.0 #1009

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps specutils from 1.15.0 to 1.16.0.

Release notes

Sourced from specutils's releases.

v1.16.0

1.16.0 (2024-08-08)

Bug Fixes

  • Arithmetic operations on Spectrum1D objects now preserve spectral axis values that were updated by setting redshift or radial velocity. #1158

  • Ensure supported dtype is passed to medfilt during smoothing. #1156

  • Adjusted copy semantics for numpy 2 compatibility. #1145

  • Fixed moment 0 calculation to sum flux*dx (rather than flux) to match line_flux. #1141

Other Changes and Additions

  • Changed the tabular-fits reader/writer to round-trip the header, by default in the primary HDU. The reader now reads the primary header into meta['header']; the old behaviour of reading the header from the data extension can be restored by setting the option store_data_header=True. The writer is taking a corresponding option for saving meta['header'] to either primary or data extension headers. #1113

  • Improved documentation for readers/writers. [#1152, #1157]

Changelog

Sourced from specutils's changelog.

1.16.0 (2024-08-08)

Bug Fixes ^^^^^^^^^

  • Arithmetic operations on Spectrum1D objects now preserve spectral axis values that were updated by setting redshift or radial velocity. #1158

  • Ensure supported dtype is passed to medfilt during smoothing. #1156

  • Adjusted copy semantics for numpy 2 compatibility. #1145

  • Fixed moment 0 calculation to sum flux*dx (rather than flux) to match line_flux. #1141

Other Changes and Additions ^^^^^^^^^^^^^^^^^^^^^^^^^^^

  • Changed the tabular-fits reader/writer to round-trip the header, by default in the primary HDU. The reader now reads the primary header into meta['header']; the old behaviour of reading the header from the data extension can be restored by setting the option store_data_header=True. The writer is taking a corresponding option for saving meta['header'] to either primary or data extension headers. #1113

  • Improved documentation for readers/writers. [#1152, #1157]

Commits
  • 70ba3ba Update changelog for 1.16.0 release
  • 3eb717d Compromise and print out the estimated parameters individually (#1159)
  • b59003e Ensure arithmetic results preserve spectral axis shifts (#1158)
  • c006678 Add documentation for kwargs passed to reader+writer backends (#1157)
  • f77c8df DOC: clarify primary/data header changes and update loader documentation [ci ...
  • f5e708c bugfix: ensure flux dtype passed to medfilt is supported (#1156)
  • 92c9609 BUG: adjust copy semantics for compatibility with numpy 2 (#1145)
  • a6fd06f Fix for Tabular-fits reader/writer fix (#1113)
  • d16d91a Fix moment calculations (#1141)
  • 28b0cdb DOC: Use HTTPS
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
jchate6 commented 3 months ago

@dependabot rebase