Skip to content

2.0.0

Choose a tag to compare

@billbrod billbrod released this 04 Jun 14:47
· 638 commits to main since this release
5fe1f1d

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.Metamer is now plenoptic.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.Metamer is initialized the same way as plenoptic.synth.Metamer. The exceptions:
    • All synthesis objects load method 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.
  • The default spatial_corr_width value for the PortillaSimoncelli object 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 that print(met) returns some information.

Please open a discussion if you have issues with these changes or migration of your existing code.

What's Changed

New Contributors

Full Changelog: 1.4.0...2.0.0