Commit adc1f588 authored by myron's avatar myron
Browse files

ants

parent a4e802ff
......@@ -46,7 +46,6 @@ def main():
## such radius from the maximum
isolate_spot_by = 7
#### For the fit of the response function based on reference scans
response_fit_options = dict( [
["niter_optical" , 100],
......@@ -67,7 +66,7 @@ def main():
steps_to_do = {
"do_step_make_roi": False,
"do_step_sample_extraction": False,
"do_step_sample_extraction": True,
"do_step_interpolation": False,
"do_step_extract_reference_scan": False,
......@@ -108,10 +107,8 @@ def main():
elastic.get_compensation_factor( elastic_scan_for_peaks_shifts , method='sum')
el_dict = elastic.cenom_dict
Enominal = np.median( list( el_dict.values() ) )
peaks_shift = np.array([ el_dict["ROI%02d"%i] if ("ROI%02d"%i) in el_dict else nan for i in range( 72) ] )
for p in peaks_shift:
print( p)
raise
peaks_shifts = np.array([ el_dict["ROI%02d"%i] if ("ROI%02d"%i) in el_dict else nan for i in range( 72) ] )
Enominal = np.median(peaks_shifts)
peaks_shifts-= Enominal
......
Supports Markdown
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