Skip to content

jfblanchard/laser-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laser-tools

Fucntions for performing common laser beam computations.

This module has a several functions for generating and plotting 1D and 2D gaussian profiles, as well as other utilities which can be used for modeling and computing laser beam parameters. Some of the functions include:

Beam parameter related:

  • bpp_radius_halfdiv - Compute the beam parameter product using radius and half divergence
  • bpp_diam_fulldiv - Compute the beam parameter product using diameter and full divergence
  • bpp_wl_m2 - Compute the beam parameter product from wavelength and m-squared
  • beam_half_divergence - Compute the half angle divergence from wavelength, waist radius, and m-squared value.
  • beam_waist - Compute the beam waist from wavelength, divergence, and m-squared value
  • rayleigh_range - Compute the rayleigh range of a gaussian beam in free space
  • beam_size - Compute the beam size (radius) at location z
  • q_parameter - Compute the q-parameter from wavelength, waist radius, and z location

Power related:

  • peak_power
  • intensity
  • peak_intensity
  • fluence
  • peak_fluence
  • beamsize_power_through_app

Other

  • mode_frequency_separation
  • freq_to_wl
  • wl_to_freq
  • wl_to_wavenumber
  • photon_energy
  • emitted_frequency
  • boltzman_statistics
  • planks_law
  • KE_escaped_electron
  • escape_threshold
  • TOF_to_distance

Gaussian Profiles Usage

Gaussian 1D Profile

Usage (running in jupyter console):

%run gaussian1D_profile.py

will produce the following plot:

1D Gaussian Image

Gaussian 2D Profile

Usage (running in jupyter console):

%run gaussian2D_profile.py

will produce the following plots:

2D Gaussian lines 2D Gaussian profile

About

Simple utilities for working with gaussian laser beams.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages