Skip to content

Releases: mfouesneau/pyphot

pyphot_v2.1.1

03 Mar 09:36

Choose a tag to compare

Minor update: Updated citation file to match the JOSS paper

Full Changelog: pyphot_v2.1.0...pyphot_v2.1.1

pyphot_v2.1.0

15 Jan 12:21
3072aff

Choose a tag to compare

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 pyphot replaced by import pyphot (default backend is 'astropy')
    • set units with pyphot.config.set_units_backend('astropy') or pyphot.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.
  • 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 vega documentation)
    • remains available at the filter definition (since v.1.7.0)
  • internal simpletable removed in favor of pandas
  • 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

02 Jul 10:28

Choose a tag to compare

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

21 Jan 13:44

Choose a tag to compare

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

21 Jan 10:36
f6011d0

Choose a tag to compare

What's Changed

Full Changelog: pyphot_v1.4.7...pyphot_v1.5.0

pyphot_v1.4.7

26 Jun 09:46
3764cc5

Choose a tag to compare

Minor version clarification

pyphot_v1.4.6

26 Jun 09:28
4ee9084

Choose a tag to compare

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

New Contributors

Full Changelog: pyphot_v1.4.4...pyphot_v1.4.6

pyphot 1.4.5

23 Aug 12:13
b8dc972

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: pyphot_v1.4.3...pyphot_v1.4.5

What's Changed

New Contributors

Full Changelog: pyphot_v1.4.3...pyphot_v1.4.5

pyphot 1.4.4

17 Aug 17:49
b8dc972

Choose a tag to compare

pyphot_v1.4.4

Update version.py

pyphot 1.4.3

22 Nov 16:05
d45e8bf

Choose a tag to compare

Workflow debugging

Full Changelog: pyphot_v1.4.2...pyphot_v1.4.3