diff --git a/script/MultipleFDAE-Fe-Patrick.py b/script/MultipleFDAE-Fe-Patrick.py deleted file mode 100644 index b8f5412..0000000 --- a/script/MultipleFDAE-Fe-Patrick.py +++ /dev/null @@ -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") - diff --git a/script/MultipleFDAE-Ni-Patrick.py b/script/MultipleFDAE-Ni-Patrick.py deleted file mode 100644 index 7cac59f..0000000 --- a/script/MultipleFDAE-Ni-Patrick.py +++ /dev/null @@ -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") - diff --git a/script/MultipleFDAExemple.py b/script/MultipleFDAExemple.py deleted file mode 100644 index 4a45a71..0000000 --- a/script/MultipleFDAExemple.py +++ /dev/null @@ -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") - - diff --git a/script/crlogic.py b/script/crlogic.py deleted file mode 100644 index 9a4fdf4..0000000 --- a/script/crlogic.py +++ /dev/null @@ -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) - diff --git a/script/test b/script/test deleted file mode 100644 index 472912c..0000000 --- a/script/test +++ /dev/null @@ -1,2 +0,0 @@ -bragg = CrlogicPositioner("bragg", "X10DA-OP-MO3:ROX") -add_device(bragg) \ No newline at end of file