Skip to content
Snippets Groups Projects
Select Git revision
  • 28a974d690635543f466a1b112ccdaa9a6a788e1
  • master default protected
2 results

FT_example5.m

Blame
    • adf's avatar
      ef25ce70
      · ef25ce70
      adf authored
      adding current code of SimTools.
      
      ef25ce70
      History
      adf authored
      adding current code of SimTools.
      
    test_hom.py 396 B
    import pykat
    
    kat = pykat.finesse.kat()
    
    kat.parseCommands("""
    l l1 1 0 0 n1
    sq l2 0 10 0 n4
    
    bs bs1 0.5 0.5 0 0 n1 n2 n3 n4
    
    fsig noise l1 amp 1 0 1
    
    qhd qhd180 180 n2 n3
    qhd qhd0 0 n2 n3
    qhdS qhd2 0 n2 n3
    qhdN qhd2 0 n2 n3
    scale meter qhd180
    scale meter qhd0
    scale meter qhd2
    scale 2 qhd0
    
    xaxis l1 phase lin 0 360 360
    """)
    
    print "".join(kat.generateKatScript())
    
    out = kat.run()
    
    out.plot()