Phase Retrieval algorithms in Python
Project description
pripy
pripy is a python package aimed at providing phase retrieval algorithms, primarily for use in adaptive optics systems and simulators. These algorithms must have a common and minimal API, in order to accelerate the testing of various algorithms on a given optical system.
Prerequisites
- A recent version of Python 3 installed on any Windows/Linux/MacOS machine,
Installing pripy
To install the most recent stable version of pripy, simply:
pip install pripy
To install the latest development version from this git repo, instead do:
git clone https://github.com/jcranney/pripy
cd pripy
pip install -e .
Using pripy
To use pripy, follow the provided examples, e.g., using Gerchberg-Saxton in the sandbox AO environment (no external simulator required):
cd examples
ipython -i sandbox_gs.py # run the sandbox Gerchberg-Saxton example
Contributing to pripy
pripy is in its infancy and welcomes collaborative input. To contribute to pripy, follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>
. - Make your changes and commit them:
git commit -m '<commit_message>'
- Push to the branch:
git push
- Create the pull request.
Alternatively see the GitHub documentation on creating a pull request.
Contributors
Contact
If you want to contact me you can reach me at jesse.cranney@anu.edu.au.
License
This project uses the following license: MIT License.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.