ImageD11.nbGui.segmenter_gui_utils module#
- ImageD11.nbGui.segmenter_gui_utils.chooseframe(dset, scan=None, idx=None, counter='_roi1', fetch_raw_image=False)#
Locate a busy frame from the dataset and optionally fetch the raw image.
- Parameters:
dset – Dataset object.
scan – Scan to use (default is middle scan).
idx – Frame index (None to auto-detect).
counter – Counter to use for locating the frame.
fetch_raw_image – Whether to fetch the raw image for the frame.
- Returns:
scan, idx, raw_image (if fetch_raw_image is True, otherwise None)
- ImageD11.nbGui.segmenter_gui_utils.guess_ESRF_paths()#
Locates: dataroot holds raw data in folders dataroot + {sample}/{sample}_{dataset} analysisroot holds output results in folders analysisroot + {sample}/{sample}_{dataset}
- ImageD11.nbGui.segmenter_gui_utils.printdatasets(dataroot, sample)#
- ImageD11.nbGui.segmenter_gui_utils.printsamples(dataroot)#