Selective.VariedPropAnalysis#
Selective.VariedPropAnalysis.py
Copyright (c) 2024, SAXS Team, KEK-PF
- class VariedPropAnalysis(parent, editor, params_info, num_variations=20)#
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
- copy_proportions()#
- draw_varied_proportions(fig, axes, devel=True)#
- get_current_peaks()#
- get_current_seq_index()#
- make_decomp_result(devel=True)#
- on_figure_click(event)#
- set_geometry()#
- show()#
- show_fv_chart()#
- show_rdr_chart(devel=True)#
- validate()#
validate the data
This method is called automatically to validate the data before the dialog is destroyed. By default, it always validates OK.
- check_code_text(code_text)#
- compute_peak_params(queue, modelname, sd, pv, fv_list, rgs_list, rdr_list, peaks_list, prop_func, devel=True)#
- get_code_text(editor)#
- show_vp_analysis_impl(button_frame, prop_func=None, in_another_thread=True)#