This commit is contained in:
gac-x11ma
2021-01-27 16:05:28 +01:00
parent a5242bcaf4
commit 26abb23c10
8 changed files with 18 additions and 16 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,21 +1,21 @@
#Fri Dec 18 13:35:02 CET 2020
#Wed Jan 27 14:57:59 CET 2021
HARMONIC_ID_1=1
RSYNC_USER=
RSYNC_USER=e18904
OUTLIERS_THRESHOLD=1000000000
NORM_FILE=/sls/X11MA/data/X11MA/Data1/public/PEEM/2020_09/i1904_1_0.tif
NORM_FILE=/sls/X11MA/data/X11MA/Data1/2021/Yona250121/s250121
AUTO_SWITCH_VALVE=true
DRY_RUN=true
POL_ID_2=Circ_Plus
OFFSET_ID_1=-1.5
DRY_RUN=false
POL_ID_2=Circ_Minus
OFFSET_ID_1=-0.4
ID=ID1_ID2
OFFSET_ID_2=-1.3
OFFSET_ID_2=-1.1
proposal=proposal
ENERGY=707.3
ENERGY=778.0
proposer=proposer
POL_ID_1=Circ_Minus
POL_ID_1=Circ_Plus
RSYNC_HOST=
sample=sample
RSYNC_PATH=Kagome_Triangular_b100
RSYNC_PATH=
pgroup=pgroup
ALPHA_ID_2=45.0
ALPHA_ID_1=15.0

View File

@@ -1,4 +1,4 @@
#Tue Dec 15 15:18:30 CET 2020
LastRunDate=201215
FileSequentialNumber=4965
DaySequentialNumber=117
#Wed Jan 27 16:03:59 CET 2021
LastRunDate=210127
FileSequentialNumber=5019
DaySequentialNumber=67

View File

@@ -45,6 +45,8 @@ max_index=0
max_index=0
def get_image_file_name(cycle=-1, frame_index=0, short_name=False):
global max_index
if (METHOD == "Two_Pol") and (SEQUENCE == "A") and (frame_index<2) and ((cycle%2)==0): #Swapped
frame_index = 0 if frame_index else 1
root = "" if short_name else (data_path + "/")
#prefix = get_context().setup.expandPath("i{seq}%03d" + "_" + ("%d" % frame_index))
@@ -127,11 +129,11 @@ try:
#time.sleep(1)
if (METHOD == "Two_Pol") or (METHOD == "Two_Energies"):
if (METHOD == "Two_Energies") or (SEQUENCE == "B") or ((cycle%2)==1):
if (METHOD == "Two_Energies") or (SEQUENCE == "B") or ((cycle%2)==1):
print "Divide first frame by second"
frames.append(frames[0].copy())
frames[2].div(frames[1])
else:
else:
print "Divide second frame by first"
frames.append(frames[1].copy())
frames[2].div(frames[0])