Skip to content
Snippets Groups Projects
Select Git revision
  • 6da327d0a694e77c590681b2a1c29d42fb29451a
  • master default
  • trunk
  • RELEASE_6_5_DRIVEDB
  • RELEASE_6_6_DRIVEDB
  • RELEASE_7_0_DRIVEDB
  • RELEASE_7_2_DRIVEDB
  • RELEASE_7_3_DRIVEDB
  • RELEASE_6_0_DRIVEDB
  • RELEASE_6_1_DRIVEDB
  • RELEASE_6_2_DRIVEDB
  • RELEASE_6_3_DRIVEDB
  • RELEASE_6_4_DRIVEDB
  • tags/RELEASE_7_4
  • tags/RELEASE_7_3
  • RELEASE_5_41_DRIVEDB
  • RELEASE_5_42_DRIVEDB
  • RELEASE_5_43_DRIVEDB
  • tags/RELEASE_7_2
  • tags/RELEASE_7_1
  • tags/RELEASE_7_0
  • RELEASE_5_40_DRIVEDB
22 results

knowndrives.cpp

Blame
  • lkat_trace.py 345 B
    import pykat
    								 
    cmd = """
    l l1 1 0 n1
    s s1 1 n1 n2
    m m1 0.99 0.01 0 n2 n3
    s s2 999 n3 n4
    m m2 0.99 0.01 0 n4 n5
    pd circ n3
    
    noxaxis
    maxtem 0
    
    attr m1 Rc 0
    attr m2 Rc 1000 
    cav c1 m1 n3 m2 n4
    """
    
    kat = pykat.finesse.kat()
    
    kat.parseCommands(cmd)
    
    info = kat.lkat_trace()
    
    print "n1 qx =", info["n1"].qx
    
    print "Cavity info ", info["c1"]