Commit d7e43c41 authored by Daniel Brown's avatar Daniel Brown
Browse files

Merge branch 'master' of gitmaster.atlas.aei.uni-hannover.de:pykat/pykat

parents 39625605 aac21778
......@@ -7,12 +7,11 @@ import scipy.optimize
def main():
print """
--------------------------------------------------------------
Example file for using PyKat to automate Finesse simulations
Finesse: http://www.gwoptics.org/finesse
PyKat: https://pypi.python.org/pypi/PyKat/
PyKat: http://www.gwoptics.org/pykat
The file runs through the various pykat files which are used
to generate the Finesse results reported in the document:
......@@ -95,7 +94,6 @@ def pd_signal(tmpkat):
code1="yaxis abs"
kat.parseKatCode(code1)
kat.noxaxis = True
out = kat.run(printout=0,printerr=0)
return (out.y[0], out.y[1])
......
......@@ -10,12 +10,11 @@ import sys
def main():
print """
--------------------------------------------------------------
Example file for using PyKat to automate Finesse simulations
Finesse: http://www.gwoptics.org/finesse
PyKat: https://pypi.python.org/pypi/PyKat/
PyKat: http://www.gwoptics.org/pykat
The file runs through the various pykat files which are used
to generate the Finesse results reported in the document:
......
......@@ -12,7 +12,7 @@ def main():
--------------------------------------------------------------
Example file for using PyKat to automate Finesse simulations
Finesse: http://www.gwoptics.org/finesse
PyKat: https://pypi.python.org/pypi/PyKat/
PyKat: http://www.gwoptics.org/pykat
The file runs through the various pykat files which are used
to generate the Finesse results reported in the document:
......@@ -72,7 +72,7 @@ def asc_large(tmpkat):
kat.parseKatCode(code_lock)
kat.parseKatCode('yaxis abs')
kat.parseKatCode('xaxis ITM ybeta lin 0 1u 100')
maxtems = [1, 3, 7, 20]
maxtems = [1, 3, 5]
#kat.verbose=1
xscale = 1e6
yscale = 1e6
......
......@@ -16,12 +16,11 @@ def printPDF(self):
pdfp.close()
def main():
print """
--------------------------------------------------------------
Example file for using PyKat to automate Finesse simulations
Finesse: http://www.gwoptics.org/finesse
PyKat: https://pypi.python.org/pypi/PyKat/
PyKat: http://www.gwoptics.org/pykat
The file runs through the various pykat files which are used
to generate the Finesse results reported in the document:
......@@ -83,7 +82,7 @@ def asc_large():
pl.scatter(x,y,s=80,facecolors='none', edgecolors='k', label='OSCAR')
y=yscale*osc1[:,2]
pl.scatter(x,y,s=80,facecolors='none', edgecolors='k')
pl.xlabel("ITM ybeta [urad]")
pl.xlabel("ITM vertical misalignment [urad]")
pl.ylabel("Alignment signal [uW]")
pl.annotate('WFS1',xy=[0.42,70])
pl.annotate('WFS2',xy=[0.62,5])
......
......@@ -8,12 +8,11 @@ import shutil
def main():
print """
--------------------------------------------------------------
Example file for using PyKat to automate Finesse simulations
Finesse: http://www.gwoptics.org/finesse
PyKat: https://pypi.python.org/pypi/PyKat/
PyKat: http://www.gwoptics.org/pykat
The file runs through the various pykat files which are used
to generate the Finesse results reported in the document:
......@@ -72,7 +71,7 @@ def asc_large(tmpkat):
kat.parseKatCode(code_lock)
kat.parseKatCode('yaxis abs')
kat.parseKatCode('xaxis ETM ybeta lin 0 1u 100')
maxtems = [1, 3, 7, 20]
maxtems = [1, 3, 5, 7]
#kat.verbose=1
xscale = 1e6
yscale = 1e6
......
......@@ -16,12 +16,11 @@ def printPDF(self):
pdfp.close()
def main():
print """
--------------------------------------------------------------
Example file for using PyKat to automate Finesse simulations
Finesse: http://www.gwoptics.org/finesse
PyKat: https://pypi.python.org/pypi/PyKat/
PyKat: http://www.gwoptics.org/pykat
The file runs through the various pykat files which are used
to generate the Finesse results reported in the document:
......@@ -83,7 +82,7 @@ def asc_large():
pl.scatter(x,y,s=80,facecolors='none', edgecolors='k', label='OSCAR')
y=-1.0*yscale*osc1[:,2]
pl.scatter(x,y,s=80,facecolors='none', edgecolors='k')
pl.xlabel("ETM ybeta [urad]")
pl.xlabel("ETM vertical misalignment [urad]")
pl.ylabel("Alignment signal [uW]")
pl.annotate('WFS1',xy=[0.42,10])
pl.annotate('WFS2',xy=[0.62,-70])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment