From 80c9d5c4f585d4bd632558f4f3d1bb1319fcc2a0 Mon Sep 17 00:00:00 2001 From: x07maop Date: Wed, 30 Mar 2016 14:27:31 +0200 Subject: [PATCH] Startup --- script/a.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 script/a.py diff --git a/script/a.py b/script/a.py new file mode 100644 index 0000000..80fca99 --- /dev/null +++ b/script/a.py @@ -0,0 +1,18 @@ +#set pol c+ off -11.5 +#hyst cont Hx -6.8 6.8 2 E 1349.35 1342.35 ppe 90 +#file Ho_hyst_plus +#start +set_pol_cplus(offset = -11.5) +wait_beam() +set_file('Ho_hyst_plus') +hyst_cont(field='Hx', init_field=-6.8, final_field=6.8, ramp_speed=2, energies=[1349.35, 1342.35]) + +#set pol lin 0 off 8.0 +#hyst cont Hx -6.8 6.8 2 E 1349.35 1342.35 ppe 90 +#file Ho_hyst_plus +#start +set_pol_lin(angle = 0, offset = 8.0) +wait_beam() +set_file('Ho_hyst_plus') +hyst_cont(field='Hx', init_field=-6.8, final_field=6.8, ramp_speed=2, energies=[1349.35, 1342.35]) +