Releases: mfouesneau/pyphot
Releases · mfouesneau/pyphot
pyphot_v2.1.1
Minor update: Updated citation file to match the JOSS paper
Full Changelog: pyphot_v2.1.0...pyphot_v2.1.1
pyphot_v2.1.0
What's Changed
Full Changelog: pyphot_v1.7.0...pyphot_v2.1.0
See also : What's new
Breaking changes
- major refactoring of the codebase: remove code duplication due to the split astropy vs. pint
import pyphot.astropy as pyphotreplaced byimport pyphot(default backend is 'astropy')- set units with
pyphot.config.set_units_backend('astropy')orpyphot.config.set_units_backend('pint')(default is 'astropy')
- adapters to interface transparently with varied unit frameworks (e.g.,
astropy.units,pint)pyphot.config.set_units_backendto switch between different unit frameworks- default priority is
astropy,pint,ezunits[legacy]
Non-breaking changes
- added type hints (incl.
pyphot.typing)- hint typing checked with pyright, not mypy.
- a more robust and general unit ensuring decorator
pyphot.units_adapter.enforce_default_unitswhich also updates the docstring accordingly - Vega flavor can now be switched globally
- use
pyphot.config.set_vega_flavor(seevegadocumentation) - remains available at the filter definition (since v.1.7.0)
- use
- internal simpletable removed in favor of pandas
pyphot.iofor ascii, fits, hdf5, and votable, adapted from https://github.com/mfouesneau/simpletable
- removed astropy dependency for SVO interface (still currently needed for fits)
- more comprehensive unit tests (coverage > 70%)
- updated documentation, :doc:
QuickStart, and :doc:examples - Migrated to h5py (from pytables)
- Support for Python 3.14
pyphot_v1.7.0
What's Changed
- Added Vega flavors to the Vega class, allowing users to select different Vega reference spectra for photometric calculations, and updated the corresponding documentation. (v1.7.0) by @mfouesneau
- Fixed broken link in example notebooks by @lancon in #72
- Updates to documentation by @lancon in #73
Full Changelog: pyphot_v1.6.0...pyphot_v1.7.0
pyphot_v1.6.0
What's Changed
- moving to pyproject.toml
- upgraded documentation
- 67 upgrade packaging by @mfouesneau in #68
Full Changelog: pyphot_v1.5.0...pyphot_v1.6.0
pyphot_v1.5.0
What's Changed
- python 3.13 support by @mfouesneau in #66
Full Changelog: pyphot_v1.4.7...pyphot_v1.5.0
pyphot_v1.4.7
Minor version clarification
pyphot_v1.4.6
This release accounts for scipy 1.14.0 API changes
However, pytables does not yet work with numpy 2.0 and thus requirements are set for numpy < 2.0 for the moment.
What's Changed
- replaced calls to scipy.integrate.trapz with scipy.integrate.trapezoid by @stefanarseneau in #56
- scipy 1.14 and numpy 2 backward comp. by @mfouesneau in #57
New Contributors
- @stefanarseneau made their first contribution in #56
Full Changelog: pyphot_v1.4.4...pyphot_v1.4.6
pyphot 1.4.5
What's Changed
- Update pint.py by @mfouesneau in #48
New Contributors
- @mfouesneau made their first contribution in #48
Full Changelog: pyphot_v1.4.3...pyphot_v1.4.5
What's Changed
- Update pint.py by @mfouesneau in #48
New Contributors
- @mfouesneau made their first contribution in #48
Full Changelog: pyphot_v1.4.3...pyphot_v1.4.5
pyphot 1.4.4
pyphot_v1.4.4 Update version.py
pyphot 1.4.3
Workflow debugging
Full Changelog: pyphot_v1.4.2...pyphot_v1.4.3