Python Projects

Back to Home

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

Various Python Projects and Workshops

In here is a link to my GitHub page where I keep some of the public projects. Most of these codes are written in Python. There is also LTspice projects for simulating resonant circuits, and simulating the transfer function of the circuit.

View on GitHub