From aa1d52af9c290eb0700714e60f99ddf5e3d94ac6 Mon Sep 17 00:00:00 2001 From: Andreas Freise <adf@star.bham.ac.uk> Date: Thu, 28 Nov 2013 12:36:45 +0000 Subject: [PATCH] chaning more run to out. --- bin/test_LLO.py | 2 +- bin/test_rad_pressure.py | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/bin/test_LLO.py b/bin/test_LLO.py index 749e88a..845ddc3 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 73762ab..e2e9e5c 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() -- GitLab