Commit 318b17af authored by myron's avatar myron
Browse files

xes non regression

parent dc3e5ec1
......@@ -31,9 +31,9 @@ test:
script:
- cd nonregressions/xrs_raman
- /usr/bin/xvfb-run --server-args="-screen 0 1024x768x24" -a python non_reg_testing_XRS.py
# - /usr/bin/xvfb-run --server-args="-screen 0 1024x768x24" -a python non_reg_testing_XRS.py
- /usr/bin/xvfb-run --server-args="-screen 0 1024x768x24" -a python non_reg_testing_XRS_small.py
- /usr/bin/xvfb-run --server-args="-screen 0 1024x768x24" -a python non_reg_testing_XRS_raman_extraction.py
# - /usr/bin/xvfb-run --server-args="-screen 0 1024x768x24" -a python non_reg_testing_XRS_raman_extraction.py
- cd ../xes
- python xes_analysis.py
- deactivate
......
......@@ -6,7 +6,8 @@ import numpy as np
import XRStools. XES_spectra_extraction as spectra_extraction
if(1):
os.system("xs -d --keep preparation_run4_16/ROI.xz ; mv preparation_run4_16/ROI preparation_run4_16/roi.h5" )
os.system("xz -d --keep preparation_run4_16/ROI.xz ; mv preparation_run4_16/ROI preparation_run4_16/roi.h5" )
os.system("xz -d --keep preparation_run4_16/roi_sample.h5.xz" )
spectra_extraction.prepare(
......@@ -17,8 +18,9 @@ if(1):
reference_scan = 66 , # the scan used for the reference
monitorcolumn = "izero",
scan_for_sample_roi = 268 , # Not necessary if recentering is not needed. If not given the rois file is assumed (when needed if needed) to be already there
scan_for_sample_roi = 268 , # Not necessary if recentering is not needed.
# If not given the rois file is assumed (when needed if needed)
# to be already there
do_roi = False,
do_roi_sample = False,
......
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