SerialAnalyzer.Scattering3dSimple#

Scattering3dSimple.py

Copyright (c) 2018, Masatsuyo Takahashi, KEK-PF

class Scattering3dSimpleDialog(parent, serial_data, data_list=None, title_list=None)#

Bases: Dialog

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.

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.

buttonbox()#

add standard button box.

override if you do not want the standard buttons

show()#
class Scattering3dSimpleFrame(parent, dialog, serial_data, data, title, i)#

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.

body(body_frame)#
buttonbox()#

add standard button box.

override if you do not want the standard buttons

compute_baselines(corrector)#
compute_projected_xy()#
create_popup_menu()#
cunstom_button_box_add(frame)#
draw()#
draw_3d_scattering(n, title, zlim=None, zlim_expand=None)#
guess_pointed_elution_no(event)#
guinier_analysis(elution_no=None, corrected=False)#
on_button_press(event)#
on_draw(event)#
on_right_button_press(event)#
redraw()#
update_cursor(cursor)#
view_init()#
is_to_plot(index, i, q, very_small_angle_only=False)#