pyspeckle
by Scott Prahl
A collection of routines to track and analyze laser speckle. This is a python port of SimSpeckle Matlab routines described in Duncan & Kirkpatrick, "Algorithms for simulation of speckle (laser and otherwise)," in SPIE Vol. 6855 (2008)
This implementation contains code for
- 1D exponential and gaussian speckle
- 2D speckle algorithms
- 3D speckle generation
Documentation and examples are available at <https://pyspeckle2.readthedocs.io>
Using pyspeckle
Install with
pip
:pip install pyspeckle
or run this code in the cloud using Google Collaboratory by selecting the Jupyter notebook that interests you.
use binder which will create a new environment that allows you to run Jupyter notebooks. This takes a bit longer to start, but it automatically installs
pyspeckle
.clone the pyspeckle github repository and then add the repository to your
PYTHONPATH
environment variable
License
pyspeckle is licensed under the terms of the MIT license.