pyspeckle

Latest PyPI version Number of PyPI downloads Google Collaboratory Binder Read the Docs MIT License

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

Using pyspeckle

  1. Install with pip:

    pip install --user pyspeckle
    
  2. or run this code in the cloud using Google Collaboratory by selecting the Jupyter notebook that interests you.

  3. 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.

  4. 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.