Commit bb162b0b authored by myron's avatar myron
Browse files

firrint the reference

parent adc1f588
......@@ -174,7 +174,7 @@ def interpolate( peaks_shifts, interp_file_str, interp_file_target_str):
# interp_file_target.flush()
fscans = interp_file_target[ target+"/"+t_vn ]["scans"]
fscans = interp_file_target[ t_vn ]["scans"]
keys_list = list( fscans.keys() )
print ( " keylist ", keys_list)
......@@ -204,7 +204,7 @@ def interpolate( peaks_shifts, interp_file_str, interp_file_target_str):
i0,f0,i1,f1 = rois_coeffs[k]
matrix0 = interp_file[volum_list[i0] ]["scans"]["Scan%03d"%( scan_num_list[i0]+sn-t_sn) ][str(k)]["matrix"][:]
matrix1 = interp_file[volum_list[i1] ]["scans"]["Scan%03d"%( yyyscan_num_list[i1]+sn-t_sn) ][str(k)]["matrix"][:]
matrix1 = interp_file[volum_list[i1] ]["scans"]["Scan%03d"%( scan_num_list[i1]+sn-t_sn) ][str(k)]["matrix"][:]
monitor = np.ones( matrix0.shape[0],"f" )
newmatrix = f0* matrix0+f1*matrix1
......
......@@ -31,7 +31,7 @@ def main():
Edim = 62
rois_are_ready = True
elastic_scan_for_peaks_shifts = 68
elastic_scan_for_peaks_shifts = 38
datadir = "/data/id20/inhouse/data/run5_17/run7_ihr/"
......@@ -66,11 +66,11 @@ def main():
steps_to_do = {
"do_step_make_roi": False,
"do_step_sample_extraction": True,
"do_step_sample_extraction": False,
"do_step_interpolation": False,
"do_step_extract_reference_scan": False,
"do_step_fit_reference_response": False,
"do_step_fit_reference_response": True,
"do_step_resynthetise_reference": False,
"do_step_scalars" : False,
"do_step_volume_retrieval" : False,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment