35 lines
785 B
Python
Executable File
35 lines
785 B
Python
Executable File
#Parameters
|
|
|
|
ROUNDS = 1
|
|
E1 = 634
|
|
E2 = 665
|
|
TIME = 3
|
|
|
|
B1 = 0 # starting mag. field in Amps
|
|
B2 = 1 # final mag. field in Amps
|
|
BSTEP = 0.5 # step size mag. field in Amps
|
|
|
|
FIELD_PRECISION = 0.05 # in Amps
|
|
FIELD_CHANGE_SLEEP = 0.5 # put the Field settling time if needed
|
|
|
|
#run("B_scan.py")
|
|
|
|
|
|
#Parameters for the second script
|
|
B1 = 0 # starting mag. field in Amps
|
|
B2 = 0.5 # final mag. field in Amps
|
|
BSTEP = 0.5 # step size mag. field in Amps
|
|
ENERGIES = [635, 637, 639] #list of energies in eV
|
|
|
|
OFFSET1 = -2.0 #eV
|
|
OFFSET2 = -2.9 #eV
|
|
caput(OTF_OFF2,OFFSET2) # tune ID2 ---> C-
|
|
caput(OTF_OFF1,OFFSET1-40) # detune ID1
|
|
|
|
#caput(OTF_OFF1,OFFSET1) # tune ID1 ---> C+
|
|
#caput(OTF_OFF2,OFFSET2-40) # detune ID2
|
|
wait_channel(OTF_DONE, 1, type = 'i')
|
|
run("FixedE.py")
|
|
|
|
|