Skip to content

Commit

Permalink
v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andykee committed Jul 8, 2020
1 parent 1c46428 commit 37d58f3
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,36 @@
Changes
=======

v0.3.0
------
Released July 8, 2020

* The Plane attribute caching approach has been entirely reworked, eliminating the need
for end-users to explicitly decorate attributes defined in subclasses:

* Users are now able to explicitly choose which attributes are cached when
``cache_propagate()`` is called by specifying them in ``Plane.cache_attrs``. The
only accepted values right now are ``amplitude`` and ``phase``. Note that
``ptt_vector`` is always cached and is not allowed to be specified in
``cache_attrs``.

* Rather than checking for and returning cached values at the attribute getter level,
it is now done inside ``Plane.multiply()``. This change streamlines both the plane
attribute getter code and the creation of planes with phase attributes that should
be random with each access.

* The ``cache_propagate`` decorator has been deprecated, and the documentation and
tests have been updated to reflect the changes in functionality. `#7`_

* Fix bug in ``zernike_coordinates`` that was causing modes over off-centered masks to
be incorrectly computed. `#8`_
* Change default behavior of ``zernike_basis`` to return a stack of matrices rather than
a single vectorized matrix.

.. _#7: https://github.com/andykee/lentil/issues/7
.. _#8: https://github.com/andykee/lentil/issues/8


v0.2.0
------
Released June 29, 2020
Expand Down
2 changes: 1 addition & 1 deletion lentil/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
if sys.hexversion < 0x030700F0:
raise ImportError('Lentil requires Python >= 3.7')

__version__ = '0.2.0'
__version__ = '0.3.0'

0 comments on commit 37d58f3

Please sign in to comment.