manoharan-lab / holopy

Hologram processing and light scattering in python
GNU General Public License v3.0
131 stars 50 forks source link

Make final release of v3 API (HoloPy 3.7) #428

Open vnmanoharan opened 7 months ago

vnmanoharan commented 7 months ago

The HoloPy 3.7 release aims to work with the latest version of Python (v3.12 currently) and numpy and to maintain compatibility with the API in v3.5.0. Updating the code to work with these current versions may require updating emcee from v2.2.1 to v3, which does not include the parallel tempered sampler (PTSampler). Note that PTSampler was never part of our API, but upgrading emcee to a version without it may break some existing workflows. We will try to include a framework for tempered sampling in version 4 of HoloPy, which will have a different API.

For this release (3.7), users will have to find their own alternatives to PTSampler, or stay with version 3.6, which will have it included. The replacement package ptemcee is no longer being maintained, but there is a package called reddemcee that has a version of a parallel tempered sampler that is compatible with v3 of emcee.

This is a meta issue to keep track of issues for the release.