Pyzelda

Latest version: v1.3

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

Scan your dependencies

1.3

General:
- Various fixes (75af95c75daff4b2f5062c53e1c5ff23fdf0368b)
- Various improvements (26c0af7323e0440b11f212d89a5c23aa9ab39284, f2d88f91096900bc1526ef9bc79a35f2fe9702d0)
- Modification related to numpy evolutions (c8dda55d70c9e079df299fbab17733df53aec767, b4b1067392e7b201be8b085aae4fdac70c4117ba, b669d9e835ff424bb6abe7751db3573f4ad6441e, 01c02cb5cf96d199d5b48cd3eea5d46660022ee7)
- Fix divisions by zero when computing the OPD map (0de15e2c145f0df8df8b63680acbf3c4efbf7cad)

SPHERE:
- Implement a simple approach for subtracting internal turbulence (c54a7d9407d8a3cc9c7be5ce32eb4f9f3ac49a09)
- Allow possibility that some information csv files do not exist (1f2d0f3b7fc6b4329936add604058cd906f788d6)
- Improvements and bug fixes in sort_files() and process() (9d6b7d7c0d60f79997eee22e70afc6a5418c82b8)
- Fix bug in analysis of telescope sequence not selecting the proper clear pupil file (c9de4210a986d37938189278954565c06e83dfda)
- Add computation of altitude, pupil rotation and field rotation (197d10da40962d901b80f4cc0c6053cad7dae2b8)

1.2

This version of pyZELDA allows to take into account amplitude errors in the reconstruction of the OPD map from ZELDA measurements. This is for example the case when using a Zernike wavefront sensor downstream of an apodized pupil coronagraph. The formalism is described in [Pourcelot et al. (2020)](https://ui.adsabs.harvard.edu/abs/2020SPIE11443E..46P/abstract). These changes are transparent and should not impact existing code.

New parameters have been added to the `Sensor.analyze()` function:
* `refwave_from_clear` parameter: if set to `True`, computes the reference wave from the clear pupil. Useful if the pupil does not have binary values (0 or 1), as with an apodization that changes the core of the PSF.
* `use_arbitrary_amplitude`: if set to `True`, it will estimate the amplitude P in the pupil (not the intensity) by computing `sqrt(clear_pupil)`. It will not make the assumption pupil is binary when normalizing zelda pupil images. Useful with non-binary apodizations.
* `sign_mask parameter`: in some cases, as when the signal is filtered through a pinhole, the amplitude P does take negative values which are not taken into account by `sqrt(P)` with `use_arbitrary_amplitude`. The sign_mask is an analytical input to discriminate where `P<0` and `P>0`.
* `pupil_roi`: allows to differentiate the pupil shape array and where phase computation is performed (in the pupil_roi).

1.1

New release of `pyzelda`, now available through `pip`. Several minor improvements and bug fixes.

1.0

0.1

Main features are implemented to read and process SPHERE-IRDIS ZELDA data. Small additions are still needed to fully support other instruments and testbeds.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.