Pygator
This is a repository for the University of Florida LIGO and LISA Optics groups. Here you can find functions that are commonly and regularly used in the lab.
pygator has many functions that are regularly used in Gaussian optics including building Hermite-Gaussian (HG) modes numerically and
symbolically. A simple example of that can be found in Tests
on the GitHub .
Another main feature that pygator has is fitting a 2D Gaussian laser beam. The software is set up to work with FLIR cameras
and using pyspin from Teledyne. Unlike other beam profilers, this script fits the entire beam rather than slices in the middle.
A simple example can be shown here
beam fit.
To install pygator, please follow these steps
Installation from Source
The package can be installed from the source:
git clone https://github.com/DiabRaed/pygator
cd pygator
pip install -e .
Rebuilding Pygator
Once you have installed and built pygator, you can get updates and rebuild it by executing the following commands from the pygator repository directory:
git pull
pip install -e . --upgrade
Installation using Pip
The package can also be installed via pip:
pip install pygator
View on GitHub