SecTheory.SecSimulator#

SecTheory.SecSimulator.py

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

class SecSimulator(parent, optimizer=None, params=None)#

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.

build_panel(xframe, rframe)#
buttonbox()#

add standard button box.

override if you do not want the standard buttons

compute_draw_params(devel=True)#
conform(event, debug=True)#
create_axes()#
get_gk_info(debug=True)#
get_lrf_info()#
get_values_from_sliders()#
initialize_from_optimizer(optimizer, params)#
initilize_for_unit_test()#
redraw(event)#
reset(event)#
set_slider_specs(rp, tI, t0, P, m)#
show()#
show_mwrg_figure(debug=True)#
demo()#