Closedown

This commit is contained in:
gac-x10da
2019-02-21 10:15:59 +01:00
parent 1419964603
commit d1fc276caf
5 changed files with 0 additions and 86 deletions

View File

@@ -1,12 +0,0 @@
positions = [ ("Nr_14-Ni" ,8.5,-0.5), \
("Nr_13-Ni-Redo" ,20,-2)]
for pos in positions:
caput("X10DA-ES1-MA1:TRX", pos[1])
caput("X10DA-ES1-MA1:TRY", pos[2] )
set_exec_pars(name = pos[0], reset = True)
run_fda("users/20170314_Andrey/Ni_EXAFS_fluo.xml")

View File

@@ -1,19 +0,0 @@
positions = [ ("Nr_9-Fe" ,6,12), \
("Nr_10-Fe" ,-12.5,5), \
("Nr_15-Fe" ,-16,-5), \
("Nr_16-Fe" ,-9,-4), \
("Nr_18-Fe" ,-2,-4.1), \
("Nr_19-Fe" ,5,-4), \
("Nr_11-Fe" ,15,-7), \
("Nr_17-Fe" ,15.1,1), \
("Nr20-Fe" ,17,11)]
for pos in positions:
caput("X10DA-ES1-MA1:TRX", pos[1])
caput("X10DA-ES1-MA1:TRY", pos[2] )
set_exec_pars(name = pos[0], reset = True)
run_fda("users/20170314_Andrey/Fe_EXAFS_fluo.xml")

View File

@@ -1,12 +0,0 @@
positions = [ ("name1" ,-6,-1.5), \
("name2" ,-1.5,-1.6)]
for pos in positions:
caput("X10DA-ES1-MA1:TRX", pos[1])
caput("X10DA-ES1-MA1:TRY", pos[2] )
set_exec_pars(name = pos[0], reset = True)
run_fda("users/20170314_Andrey/Fe_EXAFS_fluo.xml")

View File

@@ -1,41 +0,0 @@
scan_start = 9.0
scan_stop = 9.2
scan_step = 0.002
passes = 1
zigzag = False
setup_brag_plot(False)
scaler.stop() #caput("X10DA-ES-SCALER.CNT", 0)
scaler.channels[0].setPreset(False) #caput("X10DA-ES-SCALER.G1", 0)
#scaler.channels[0].setPresetValue(0)
scaler.setOneShot() #caput("X10DA-ES-SCALER.CONT", 0)
caput("X10DA-ES1:START-CSMPL", 1)
caput("X10DA-ES1:TOTAL-CYCLES", 5)
caput("X10DA-ES1:SMPL-BTN", 1)
i0 = CrlogicSensor("I0", "SCALER12", True)
i1 = CrlogicSensor("I1", "SCALER13", True)
i2 = CrlogicSensor("I2", "SCALER14", True)
ref = CrlogicSensor("ScalerRef", "SCALER15", True)
class AbsCalc(Readable):
def read(self):
return math.log(math.fabs(i0.take()) / math.fabs(i1.take()))
abs_calc = AbsCalc()
class ECalc(Readable):
def read(self):
return 12.39842 / (crystal.take() * math.sin( math.radians(bragg.readback.take())))
e_calc = ECalc()
sensors = [crystal, i0, i1, i2, ref, abs_calc, e_calc]
bragg.move(scan_start)
#caput("X10DA-OP-MO3:ROX.URIP", 'No')
scaler.start()
r1 = hscan(crlogic_config, bragg, sensors, scan_start, scan_stop, scan_step, passes=passes, zigzag=zigzag)

View File

@@ -1,2 +0,0 @@
bragg = CrlogicPositioner("bragg", "X10DA-OP-MO3:ROX")
add_device(bragg)