Skip to content
Snippets Groups Projects
Select Git revision
  • cb7b565808b3b962fc9196856ffb378c7af0293f
  • master default protected
  • develop-GA
  • timeFstatmap
  • add-higher-spindown-components
  • develop-DK
  • adds-header-to-grid-search
  • v1.2
  • v1.1.2
  • v1.1.0
  • v1.0.1
11 results

glitch_robust_search.py

Blame
  • Forked from Gregory Ashton / PyFstat
    Source project has a limited visibility.
    test_beam_det.py 264 B
    import pykat
    
    kat = pykat.finesse.kat()
    
    kat.parseCommands("""
    l l1 1 0 n0
    s s1 1 n0 n1
    beam b1 0 n1
    
    gauss g1 l1 n0 1 0
    
    xaxis b1 x lin -3 3 100
    x2axis b1 y lin -3 3 100
    """)
    
    out = kat.run()
    
    import pylab
    pylab.pcolormesh(out.x, out.y, out["b1"])
    
    pylab.show()