Version History#
This page lists the recent changes in versions of PyPhot.
v2.0.0#
[November 11, 2025]
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_backend()to 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.
- added type hints (incl.
a more robust and general unit ensuring decorator
pyphot.units_adapter.enforce_default_units()which also updates the docstring accordingly- vega flavor can now be switched globally
use
pyphot.config.set_vega_flavor()(see Details on the internal Vega reference spectra documentation)remains available at the filter definition (since v.1.7.0)
- internal simpletable removed in favor of pandas
pyphot.iofor ascii, fits, hdf5, and votable adapted from mfouesneau/simpletable
removed astropy dependency for SVO interface (still currently needed for fits)
more comprehensive unit tests (coverage > 70%)
updated documentation, pyphot Quickstart, and More examples with Pyphot
v1.7.0#
[July 2, 2025] - Added Vega flavors to the Vega class, allowing users to select different Vega reference spectra for photometric calculations.
v1.6.0#
[January 21, 2025] - Moved installation to use pyproject.toml - Updated documentation - Updates for deprecated calls.
v1.5.0#
[January 21, 2025] - add support for Python 3.13
v1.4.6#
[June 26, 2024] - Dropping support for Python <= 3.8 (due to HDF5 modules). - Minor updates for Scipy 1.14.0 and Numpy 2.0
For versions prior to v1.4.6, please refer to the release notes.