Lentil

Latest version: v0.8.3

Safety actively analyzes 638755 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.5.0

------
Released August 13, 2021

* Propagations with ``tilt='angle'`` have tilt projected out of each
plane once before the entire propagation rather than at each monochromatic
propagation
* Rework ``Plane.pixelscale`` to always store (r,c) pixelscale
* Fix bug in ``Plane.mask`` on the fly calculation that was overwriting
``Plane.amplitude`` with a binary mask
* No longer cache ``Plane.ptt_vector``
* Deprecate ``Plane.cache_propagate()`` and ``Plane.clear_cache_propagate()``.
This functionality has been migrated to ``propagate._prepare_planes()``
and ``propagate._cleanup_planes()``
* New ``Plane.rescale()`` method to rescale Plane pixelscale
* Update ``util.rescale()`` to choose a more conservative (better sampled)
result when having to choose an integer output shape
* Define ``Wavefront.__slots__`` to increase attribute access speed and reduce
memory footprint
* ``util.circle()`` `center` parameter is now called `shift`
* Deprecate ``cache.Cache`` in favor of a simple dictionary
* New function ``fourier.expc()`` to more quickly compute a complex exponential
* ``fourier.dft2()`` now accepts an offset parameter
* New function ``Plane.fit_tilt()`` to handle tilt fitting and removal of in the
Plane's ``phase`` attribute. This is now called once
* New function ``Plane.slice()`` for computing avaliable slices from the plane
attributes to speed up propagation performance
* New ``Detector()`` plane that returns intensity
* Update ``zernike.zernike_coordinates()`` to automatically compute shift that
locates the origin at the mask centroid if no shift is provided.

0.4.1

------
Released October 7, 2020

* Fix implementation error in Grism model dispersion calculations

0.4.0

------
Released October 6, 2020

.. note::

The Grism model updates are broken in this release. It has been yanked from
PyPi. The issue is fixed in v0.4.1.

* Update Grism model to use correct definition of dispersion, accomodate
trace and dispersion models with polynomial order > 1
* Establish coordinate system `12`_
* Fix direction and orientation of Tilt `12`_
* Allow spectral inputs to radiometry.path_emission

.. _12: https://github.com/andykee/lentil/issues/12

0.3.4

------
Released September 8, 2020

* Fix implementation error in Gaussian detector.shot_noise
* Add better exception handling for detector.shot_noise `10`_
* No longer check Python version on import
* Update ``np.ediff1d`` usage to be compatible with Numpy 1.19

.. _10: https://github.com/andykee/lentil/issues/10

0.3.3

------
Released August 17, 2020

* Make FPN seed optional in ``detector.dark_current``

0.3.2

------
Released July 20, 2020

* Update ``detector.adc`` to prevent negative values from being returned.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.