Specutils

Latest version: v1.15.0

Safety actively analyzes 626363 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

1.16.0

-------------------

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

Bug Fixes
^^^^^^^^^

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

1.15.0

-------------------

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

- Implemented ``SpectralRegion.write()`` and ``SpectralRegion.read()`` to round-trip spectral
regions to/from ECSV files via ``astropy.table.QTable``. [1133]

1.14.0

-------------------

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

- ``new_flux_unit`` changed to ``with_flux_unit`` to match spectral version,
updated docstring to reflect actual behavior. [1124]

- Compatibility with numpy 2.0 and astropy 6.1. [1130]

1.13.0

-------------------

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

- Added SDSS-V file format readers. [1107]

- Switched from using ``numpy.correlate`` to ``scipy.signal.correlate`` in ``template_correlate``
and enabled passing through the ``method`` 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`` and ``spPlate_loader`` functions. [1097]

- Masks now round-trip through tabular-fits reader/write. [1104]

- ``template_correlate`` no longer errors when used on a ``Spectrum1D`` that lacks an
``uncertainty`` array. [1118]

- ``with_spectral_unit`` has been changed to ``with_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
^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Made a couple small updates to developer docs. [1110, 1112]

- Updated the format of ``Spectrum1D.__str__`` and ``Spectrum1D.__repr__``. [1123]

1.12.0

-------------------

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

- Registering a ``SpectrumList`` reader for a data loader is now optional. [1068]

Bug Fixes
^^^^^^^^^

- Fixed SDSS-I/II spSpec units. [1066]

- Addressed compatibility with ASDF 3.0 for JWST data. [1079]

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

- Corrected ``velocity_convention`` options in Spectrum1D docstring. [1088]

1.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 an ``astropy.uncertainty`` distribution instead of the analytic solution. [1057]

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

- Drastically improved performance of region extraction. [1048]

- When creating a Spectrum1D object, it is enforced that the spectral axis is sorted and either
strictly increasing or decreasing. [1061]

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.