Skip to content
Snippets Groups Projects
Select Git revision
  • 8c74831aa6ce355f0b79a0aa0f4a1987fbb4ea9d
  • master default protected
2 results

test_hg_beam.py

Blame
  • Daniel Brown's avatar
    Daniel Brown authored
    adding in block selector to loadkatfile and parsecommands, so that it only reads in certain blocks. Fixed factorial code in HG_beam
    49de1b71
    History
    test_hg_beam.py 190 B
    import pykat
    from pykat.utilities.optics.gaussian_beams import *
    
    gx = beam_param(w0=2e-3, z=0)
    gy = beam_param(w0=1e-3, z=0)
    
    beam = HG_beam(gx,gy,0,0)
    beam.n = 5
    beam.m = 6
    
    beam.plot()