Extrapolation.RangeInspector#
RangeInspector.py
Copyright (c) 2020-2024, SAXS Team, KEK-PF
- class RangeInspectorDialog(parent, solver, j0, paired_range, selected, ad, conc_depend=None, init_result=None, decomp_info=None, fx=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.
- auto_inspection()#
- 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_canvas(canvas_frame, tool_frame)#
- build_panel(panel_frame)#
- builf_distinction(dframe)#
- clear_scattering_curves()#
- compute_almerge_scattering(start, stop)#
- compute_nSRD_info(A, E, f, t)#
- compute_peak_top_scattering()#
- compute_rg_info(A, E)#
- create_line_variables()#
- create_range_variables()#
- draw_elution(ax, axt)#
- draw_scattering(ax)#
- get_initial_range()#
- get_range(shifted=True)#
- init_control_vars()#
- keep_scattering_curve()#
- layout_distinction()#
- line_buttons_tracer(*args)#
- on_mouse_motion(event)#
- place_diff_toggle_button(frame)#
- place_line_buttons(frame)#
- place_scale_buttons(frame)#
- plot_distinction(legend=False)#
- plot_rg_errorbar(ax, x, Rg_rec, color=None, label=None)#
- range_ends_tracer(i)#
- scale_type_tracer(*args)#
- show()#
- show_diff_mode_tracer(*args)#
- show_guinier_kratky_plots(debug=False)#
- show_quality_warning()#
- solve_this_range(f, t, surplus_rank=0)#
- update_almerge_line()#
- update_current_manip_info(A=None, E=None)#
- update_diff_info(diff)#
- update_drawing(fv, tv)#
- update_yscale(ax)#
- validate()#
validate the data
This method is called automatically to validate the data before the dialog is destroyed. By default, it always validates OK.