Files
x07ma/script/Cr_hyst.py
2016-10-31 03:40:56 +01:00

37 lines
887 B
Python

open_valve()
set_pol_cplus(offset = -1.0)
set_file('Fe_hyst_plus')
hyst_cont(field_x, 6.8, -6.8, 1.5, [707.0, 704.0])
set_pol_cminus(offset = 1.0)
set_file('Fe_hyst_minus')
hyst_cont(field_x, -6.8, 6.8, 1.5, [707.0, 704.0])
set_pol_cminus(offset = 1.0)
set_file('Fe_hyst_minus')
hyst_cont(field_x, 6.8, -6.8, 1.5, [707.0, 704.0])
set_pol_cplus(offset = -1.0)
set_file('Fe_hyst_plus')
hyst_cont(field_x, -6.8, 6.8, 1.5, [707.0, 704.0])
'''
set_pol_cminus(offset = 1.0)
set_file('Cr_hyst_minus')
hyst_cont(field_x, 6.8, -6.8, 2.0, [576.1, 571.5])
set_pol_cplus(offset = -1.0)
set_file('Cr_hyst_plus')
hyst_cont(field_x, -6.8, 6.8, 2.0, [576.1, 571.5])
set_pol_cplus(offset = -1.0)
set_file('Cr_hyst_plus')
hyst_cont(field_x, 6.8, -6.8, 2.0, [574.3, 571.0])
set_pol_cminus(offset = 1.0)
set_file('Cr_hyst_minus')
hyst_cont(field_x, -6.8, 6.8, 2.0, [574.3, 571.0])'''
close_valve()