Tools.OutlineViewer#

OutlineViewer.py

Copyright (c) 2018-2023, SAXS Team, KEK-PF

class OutlineViewer2dFrame(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: Frame

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.

add_toolbar(bframe)#
build_bframe(bframe_)#
build_cframe(cframe, figsize)#
close()#
draw(canvas_draw=True, restrict_info=None)#
draw_selection(restrict_info)#
onselect(xmin, xmax)#
toggle_scale(event)#
class OutlineViewer3dFrame(parent, parent_obj, figsize, title, x, y, data, curve_info)#

Bases: Frame

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.

close()#
draw_3d(x, y, data, curve_info)#
reset_view(event)#
class OutlineViewerDialog(parent, serial_data)#

Bases: Dialog

Initialize a dialog.

Parameters:
  • window (parent -- a parent)

  • title (title -- the dialog)

body(frame)#

create dialog body.

return widget that should have initial focus. This method should be overridden, and is called by the __init__ method.

cancel()#
get_bridge_slice()#
get_current_frame()#
get_frame_class()#
get_opposite_frame()#
show()#
toggle()#
class OutlineViewerFrame(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, sub_curve_info_list=None)#

Bases: Frame

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_body(titles, disable_x_selection, averaged_ridge, changeable_yscale, sub_curve_info, pre_recog, bridge_slice, sub_curve_info_list=None)#
close()#
disable_toggle_button()#
forget_left_frame()#
get_averaged_ridge(ppi)#
get_frame_classes()#
get_info_list()#
pack_left_frame()#
format_coord(x, y)#
using_normal_conc()#