Commit 2dc12d2b authored by Simon Heybrock's avatar Simon Heybrock
Browse files

Missing update of example scripts.

parent ce5a9e01
......@@ -8,11 +8,7 @@ frame_parameters = ['18454,64,27522', '28645,64,37670', '38836,64,46479',
frame_shifts = make_frame_shifts(-6630)
wfm_position = 28.55
sample_position = 51.39
detector_position = 51.4
p = WFMProcessor(wfm_position, sample_position, detector_position, frame_parameters, frame_shifts)
p = WFMProcessor(frame_parameters, frame_shifts)
instrument_filename = 'sample-data/HZB_V20_Definition_4-tubes-90-degree.xml'
sample_filename = 'sample-data/Spectrum472_Y2O3_Zmin_36000sec01_ch5.asc'
......
......@@ -8,16 +8,12 @@ frame_parameters = ['18454,64,27522', '28645,64,37670', '38836,64,46479',
frame_shifts = make_frame_shifts(-6630)
wfm_position = 28.55
sample_position = 51.39
detector_position = 51.4
instrument_filename = 'sample-data/HZB_V20_Definition_4-tubes-90-degree.xml'
sample_filename = 'sample-data/Spectrum472_Y2O3_Zmin_36000sec01_ch5.asc'
vanadium_filename = 'sample-data/Spectrum468_Vanadium_36000sec01_ch5.asc'
for frame,shift in zip(frame_parameters, frame_shifts):
p = WFMProcessor(wfm_position, sample_position, detector_position, [frame], [shift])
p = WFMProcessor([frame], [shift])
sample_workspace = load('sample', sample_filename)
sample_processed = p.process(
......
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