V2PropOptimizer.VariedPropAnalysis#

V2PropOptimizer.VariedPropAnalysis.py

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

class VariedPropAnalysis(parent, js_canvas, modelname, num_variations=20)#

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.

buttonbox()#

add standard button box.

override if you do not want the standard buttons

create_popup_menu(event)#
draw_varied_proportions(fig, axes, devel=True)#
get_current_peaks()#
observe_it_as_v1_preview(devel=True)#
on_figure_click(event)#
optimize_proportion(name, devel=True)#
set_geometry()#
show()#
show_fv_chart()#
show_popup_menu(event)#
show_rdr_chart(devel=True)#