DataStructure.SvdViewer#

SvdViewer.py

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

class SvdFrame(parent, vector, array, ecurves, ucurves, data_name, serial_data=None, mapper=None, absorbance=None, toggle_cb=None, toggle_text=None, dialog=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()#
draw()#
draw3d()#
draw_U(num_components)#
draw_V(num_components)#
draw_s(num_components)#
num_components_tracer(*args)#
reverse()#
show_save_dialog()#
class SvdViewer(parent, title, sd, mapper)#

Bases: Dialog

Initialize a dialog.

Parameters:
  • window (parent -- a parent)

  • title (title -- the dialog)

body(body_frame)#

create dialog body.

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

show()#
show_the_other()#