Skip to content
Snippets Groups Projects
Select Git revision
  • c37991fa63d764bd46c8afd564100d02c6daf8e8
  • 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
21 results

smartctl.c

Blame
  • lkat_trace.py 344 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 100 n3 n4
    m m2 0.99 0.01 0 n4 n5
    pd circ n3
    
    noxaxis
    maxtem 2
    
    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"]