diff --git a/bin/test_LLO.py b/bin/test_LLO.py index 749e88a21d4c23b4c55d5acecf4df307c2314a96..845ddc37abed82d8fac15b2c630f13df516a6f31 100644 --- a/bin/test_LLO.py +++ b/bin/test_LLO.py @@ -16,4 +16,4 @@ kat.HRBS.r_ap = 37e-2 kat.parseCommands("pd pdIN nin") kat.noxaxis = True -run = kat.run() +out = kat.run() diff --git a/bin/test_rad_pressure.py b/bin/test_rad_pressure.py index 73762abf8e485619dc5bee3a12542f2161fe1ac3..e2e9e5c059ef328cb0f30c64fdc37bb114ed795d 100644 --- a/bin/test_rad_pressure.py +++ b/bin/test_rad_pressure.py @@ -35,22 +35,22 @@ yaxis log re:im """ kat = finesse.kat(kat_code=code) -run = kat.run(printout=0,printerr=0) +out = kat.run(printout=0,printerr=0) # using real and imag part compute the complex value of the upper and lower sidebands -a_up = run.y[:,0] + run.y[:,1]*1j -a_lo = run.y[:,2] + run.y[:,3]*-1j +a_up = out.y[:,0] + out.y[:,1]*1j +a_lo = out.y[:,2] + out.y[:,3]*-1j pl.figure(1) -pl.loglog(run.x, np.abs(a_up + a_lo), run.x, np.abs((a_up - a_lo) / (1j))) -pl.xlabel(run.xlabel) +pl.loglog(out.x, np.abs(a_up + a_lo), out.x, np.abs((a_up - a_lo) / (1j))) +pl.xlabel(out.xlabel) pl.title("Reflection quadratures with no relative carrier phase") pl.legend(["Amplitude","Phase"]) pl.show() pl.figure(2) -pl.loglog(run.x, np.abs(a_up), run.x, np.abs(a_lo)) -pl.xlabel(run.xlabel) +pl.loglog(out.x, np.abs(a_up), out.x, np.abs(a_lo)) +pl.xlabel(out.xlabel) pl.title("Amplitude of reflected sidebands") pl.legend(["Upper","Lower"]) -pl.show() \ No newline at end of file +pl.show()