Simple and fast calculation of beam sizes from a single monochrome image based on the ISO 11146 method of variances. Some effort has been made to make the algorithm less sensitive to background offset and noise.
For examples, see the doc folder
One way is to use pip
pip install laserbeamsize
Alternatively you can install from github
git clone https://github.com/scottprahl/laserbeamsize.git
Then, add the laserbeamsize directory to your PYTHONPATH or somehow
For installation: setuptools
Required Python modules: numpy, matplotlib
laserbeamsize is licensed under the terms of the MIT license.