Specutils

Latest version: v1.19.0

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

Scan your dependencies

Page 1 of 6

1.20.0

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

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

Bug Fixes
^^^^^^^^^

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

1.19.0

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

Bug Fixes
^^^^^^^^^

- Fixed ``mwmVisit`` SDSS-V ``Spectrum1D`` and ``SpectrumList`` default loader
being unable to load files containing only BOSS instrument spectra. [1185]

- Fixed automatic format detection for SDSS-V ``SpectrumList`` default loaders. [1185]

- Fixed ``SplineInterpolatedResampler`` when input and output spectral axes are different
physical types, e.g. wavelength and velocity. [1190]

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

- "Multi" loaders have been removed from SDSS-V ``SpectrumList`` default loaders. [1185]

1.18.0

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

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

- New ``Spectrum1D.with_spectral_axis_and_flux_units`` method to convert both
spectral axis and flux units at the same time. [1184]

Bug Fixes
^^^^^^^^^

- Fixed ``Spectrum1D.with_flux_unit()`` not converting uncertainty along
with flux unit. [1181]

- Fixed extracting a spectral region when one of spectrum/region is in wavelength
and the other is in frequency units. [1187]

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

- Replaced ``LevMarLSQFitter`` with ``TRFLSQFitter`` as the former is no longer
recommended by ``astropy``. [1180]

1.17.0

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

Bug Fixes
^^^^^^^^^

- Fixed specifying a single value for ``window`` in ``analysis.fit_lines``. [1164]

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

- Dropped support for python 3.9. [1176]

- ``utils.wcs_utils.refraction_index`` (and thus ``air_to_vac`` and ``vac_to_air``)
now defaults to ``Morton2000`` as the method instead of ``Griesen2006``. [1169]

1.16.0

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

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]

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]

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.