Microfluidics.BackgroundMaker#
BackgroundMaker.py
Copyright (c) 2019-2020, SAXS Team, KEK-PF
- class BackgroundMaker2dFrame(parent, parent_obj, figsize, title, x, y, data, color, opos, ocolor, restrict_info, sub_curve_info=None, pre_recog=None, ecurve=None, opos_sub=None, disable_selection=False, changeable_yscale=False, bridge_slice=None, toolbar=False, val_label=False)#
Bases:
OutlineViewer2dFrame
Construct a frame widget with the parent MASTER.
Valid resource names: background, bd, bg, borderwidth, class, colormap, container, cursor, height, highlightbackground, highlightcolor, highlightthickness, relief, takefocus, visual, width.
- apply()#
- build_bframe(bframe)#
- draw(canvas_draw=True)#
- draw_selection(ax, restrict_info)#
- draw_selection_guide(ax)#
overriding the super method to adjust to the narrowed range (-0.01, 0.4)
- draw_the_bridge_suggested_curves(bridge_slice)#
- get_default_elution_slice(width=10)#
- get_toggle_xlim()#
- onselect(xmin, xmax)#
- redraw_the_angular_canvas()#
- set_small_xlim()#
- spinbox_tracer(k)#
- class BackgroundMakerDialog(parent, pre_recog)#
Bases:
OutlineViewerDialog
Initialize a dialog.
- Parameters:
window (parent -- a parent)
title (title -- the dialog)
- apply()#
process the data
This method is called automatically to process the data, after the dialog is destroyed. By default, it does nothing.
- buttonbox()#
add standard button box.
override if you do not want the standard buttons
- get_bridge_slice()#
- get_frame_class()#
- get_the_background_info()#
- tell_xray_frame_redraw()#
note that elution_canvas.redraw_the_angular_canvas must not be called until the construction of this dialog is complete when all the xray_frame.canvases have been built.
- toggle_3d_view()#
- class BackgroundMakerFrame(parent, dialog, titles, x, y, data, epos, ecurve, el_color, restrict_list, toggle_info, disable_x_selection=False, averaged_ridge=False, changeable_yscale=False, sub_curve_info=None, pre_recog=None, x_axis_ends=None, bridge_slice=None)#
Bases:
OutlineViewerFrame
Construct a frame widget with the parent MASTER.
Valid resource names: background, bd, bg, borderwidth, class, colormap, container, cursor, height, highlightbackground, highlightcolor, highlightthickness, relief, takefocus, visual, width.
- build_title()#
- forget_3d_canvas()#
- get_frame_classes()#