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
pip install --user 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
clone the pyspeckle github repository and then add the repository to your
pyspeckle is licensed under the terms of the MIT license.