ImageD11.nbGui.segmenter_gui module#

class ImageD11.nbGui.segmenter_gui.FrelonSegmenterGui(dset, worker_func, process_func, counter='_roi1', scan=None, frame=None, **options)#

Bases: object

UI for a jupyter notebook to set the segmentation parameters From @jadball notebook, @jadball refactored to put in a python file

chooseframe(counter)#
display()#
getopts()#
segment_frame()#
update_image(threshold, smoothsigma, bgc, minpx, m_offset_thresh, m_ratio_thresh)#
class ImageD11.nbGui.segmenter_gui.SegmenterGui(dset, counter='_roi1', scan=None, frame=None, cut=1, pixels_in_spot=3, howmany=100000)#

Bases: object

UI for a jupyter notebook to set the segmentation parameters From @jadball notebook, @jonwright refactored to put in a python file

chooseframe(counter)#
display()#
getopts()#
segment_frame()#

ds = ImageD11.sinograms.dataset object options = dict to pass to ImageD11.sinograms.lima_segmenter.SegmenterOptions image_file_num = which scan0123/eiger_0000.h5 to look at frame_num = which frame in the file

update_image(cut, pixels_in_spot, howmany)#