Repository navigation
2.0.0
With this release, we have finished all the changes requested in our pyOpenSci review, so plenoptic is now officially a peer-reviewed package!
- Simplification and complete overhaul of the plenoptic API: all objects have moved, e.g.,
plenoptic.synth.Metameris nowplenoptic.Metamer. See the migration guide for details, including a tool to help you automatically migrate your code. - The API of most objects and functions have not changed, e.g.,
plenoptic.Metameris initialized the same way asplenoptic.synth.Metamer. The exceptions:- All synthesis objects
loadmethod have a new argument,raise_on_checks, which allows you to load objects that would previously have raised an error. This can be dangerous, so use at your own risk! See docs for more details. - The synthesis object plotting functions have been substantially changed: they have been consolidated and standardized. See migration guide for more details and the API guide for an overview of the new functions.
- All synthesis objects
- The default
spatial_corr_widthvalue for thePortillaSimoncelliobject has changed to match that used in the original publication. We do not believe this has a noticeable effect on synthesized metamers, and it reduces the size of the model output. - All synthesis objects now have basic
__repr__methods, so thatprint(met)returns some information.
Please open a discussion if you have issues with these changes or migration of your existing code.
What's Changed
- Fix version_switcher.json by @billbrod in #430
- Change
PortillaSimoncellidefaultspatial_corr_widthfrom 9 to 7 by @billbrod in #431 - Set minimum
jupyterlab/jupyterlab_mystversions by @billbrod in #432 - [BREAKING CHANGE] API restructure, adds lazy loading by @billbrod in #418
- Fix apidocs linting by @billbrod in #433
- Fix pypi icon by @billbrod in #435
- Jenkins migration to new system by @dylex in #436
- Adds Pytest teardown to close figures by @billbrod in #437
- Adds semicolon linting for myst notebooks by @billbrod in #440
- Update pooch version, remove filterwarning by @billbrod in #441
- Jenkins by @billbrod in #442
- Adds PyOpenSci badge by @billbrod in #443
- Plot refactor by @billbrod in #438
- Adds
raise_on_checksto synthesis load methods by @billbrod in #444 - Fix doctest issue, adds basic
__repr__for synthesis objects by @billbrod in #446
New Contributors
Full Changelog: 1.4.0...2.0.0