Skip to content
Snippets Groups Projects
Commit 14a74c6d authored by Arnaud HEMMERLE's avatar Arnaud HEMMERLE
Browse files

Add flyscan

parent 293de0f5
No related branches found
No related tags found
No related merge requests found
......@@ -184,7 +184,7 @@ def extract_area_detector_scan(nxs_name, path_to_nxs_dir,
if stamp[1] is not None:
if is_print_stamps :
print("\t\t%s -------> %s"%(i,stamp[1]))
if stamp[1].lower() in ['pilatus', 'ufxc', 'ufx', 'det_image']:
if stamp[1].lower() in ['pilatus', 'ufxc', 'ufx', 'pilatus_image', 'ufxc_image']:
column_z = i
alias_detector = stamp[1].lower()
else:
......@@ -235,11 +235,11 @@ def extract_area_detector_scan(nxs_name, path_to_nxs_dir,
# Get positions of the dead pixels and set them to zero
# Start from the known path of a module
if alias_detector in ['pilatus', 'det_image']:
if alias_detector in ['pilatus', 'pilatus_image']:
file_dead_pixels_pilatus = os.path.dirname(jlb_io.__file__)\
+'/../params/dead_pixels/dead_pixels_pilatus.dat'
dead_pixels = jlb_io.extract_dead_pixels(file_dead_pixels_pilatus)
elif alias_detector in ['ufxc', 'ufx']:
elif alias_detector in ['ufxc', 'ufx', 'ufxc_image']:
file_dead_pixels_ufxc = os.path.dirname(jlb_io.__file__)\
+'/../params/dead_pixels/dead_pixels_ufxc.dat'
dead_pixels = jlb_io.extract_dead_pixels(file_dead_pixels_ufxc)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment