Files
x11ma/script/Users/Fechner/hyst_ID2.py
2021-03-12 12:19:10 +01:00

29 lines
825 B
Python
Executable File

B1 = 10 # starting mag. field in Amps
B2 = -B1 # final mag. field in Amps
BSTEP = 1 # step size mag. field in Amps
ENERGIES = (636.5, 640.7) #list of energies in eV
FIELD_PRECISION = 0.05 # in Amps
ENERGY_CHANGE_SLEEP = 0.1 # put the Enerrgy settling time if needed
FIELD_CHANGE_SLEEP = 0.2 # put the Field settling time if needed
ACC_TIME = 10 # acquisition time in seconds
MODE = 1 #polarization (CIRC+ -> 1 or CIRC- -> 2)
OFFSET2 = -8 #ID2 offset
run("Fechner/field_sweepID2")
MODE = 2 #polarization (CIRC+ -> 1 or CIRC- -> 2)
OFFSET2 = -9 #ID2 offset
run("Fechner/field_sweepID2")
'''
MODE = 2 #polarization (CIRC+ -> 1 or CIRC- -> 2)
OFFSET2 = -9 #ID2 offset
run("Fechner/field_sweepID2")
MODE = 1 #polarization (CIRC+ -> 1 or CIRC- -> 2)
OFFSET2 = -8 #ID2 offset
run("Fechner/field_sweepID2")
'''