This version of cdtools contains an option for near-field ptychography, as well as a reworked and improved system for running reconstructions using the new reconstructors class, while maintaining backwards compatibility.
What's Changed
- Separate optimization methods from CDIModel into separate class Reconstructors by @yoshikisd in #47
- Adding near field ptychography by @allevitan in #31
- Add the original positions to the fancy_ptycho position plotting by @allevitan in #49
- Update the documentation to reflect the existence of a PyPI package by @allevitan in #41
- Set fixed RNG seed for reconstruction pytests by @yoshikisd in #43
- [Flake8] conf file and cleaned up test files by @gnzng in #44
- Fix a high priority bug with the masking system which was introduced in the switch to reconstructors classes by @allevitan in #52
- Add cdtools.version and set it up so that there is a single source of truth for the version number by @allevitan in #53
- Add tests for version existence and semantic format by @gnzng in #54
- Change to Pyproject.toml installation and uv, remove python 3.8 support, add python 3.13 and 3.14 support by @gnzng in #57
- fix: documentation build step to use Sphinx directly by @gnzng in #59
- [docs] Adding instruction to build custom documentation based on version or commit hashes by @gnzng in #61
- Make it easier to change the surface normal in Bragg2DPtycho.from_dataset by @yoshikisd in #63
- Stop Ptycho2DDataset.inspec() from raising a divzero error in many situations by @allevitan in #62
- Fix a bug preventing the default surface normal of [0 0 1] from ever being defined in Bragg2DPtycho by @yoshikisd in #66
- A small fix to the high NA propagator by @allevitan in #67
- Add .readthedocs.yaml for ReadTheDocs hosting by @allevitan in #74
- Update the docs so it doesn't always think it's v0.2.0 by @allevitan in #75
- Change version to 0.3.1 by @allevitan in #73
Full Changelog: v0.3.0...v0.3.1