Metadata-Version: 2.1
Name: laserbeamsize
Version: 1.0.3
Summary: ISO 11146 Calculation of Laser Beam Center and Diameter
Home-page: https://github.com/scottprahl/laserbeamsize.git
Author: Scott Prahl
Author-email: scott.prahl@oit.edu
License: MIT
Description: laserbeamsize
        =============
        
        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.
        
        Installation
        ------------
        
        Just use pip::
        
           pip install laserbeamsize
        
        Usage
        -----
        
        Finding the center and dimensions of a good beam image::
        
            import imageio
            import laserbeamsize as lbs
        
            beam = imageio.imread("t-hene.pgm")
            x, y, dx, dy, phi = lbs.beam_size(beam)
        
            print("The image center is at (%g, %g)" % (x,y))
            print("The horizontal width is %.1f pixels" % dx)
            print("The vertical height is %.1f pixels" % dy)
            print("The beam oval is rotated is %.1f°" % (phi*180/3.1416))
        
        Handling non-zero backgrounds and other issues are explained in Jupyter 
        notebooks at <https://laserbeamsize.readthedocs.io>
        
        Source code repository
        ----------------------
        
        Source is hosted by github::
        
            <https://github.com/scottprahl/laserbeamsize>
        
        License
        --------
        
        laserbeamsize is licensed under the terms of the MIT license.
        
Keywords: variance,gaussian,M-squared,d4sigma
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Scientific/Engineering :: Physics
Requires-Python: >=3.4
Description-Content-Type: text/x-rst
