Trimming.DataRange#

DataRange.py

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

class DataRangeDialog(parent, pre_recog)#

Bases: OutlineViewerDialog

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.

buttonbox()#

add standard button box.

override if you do not want the standard buttons

exec_callback(callback, path)#
get_frame_class()#
show_it_at_a_glance()#
class DataRestrictor2dFrame(parent, parent_obj, figsize, title, x, y, data, color, opos, ocolor, restrict_info, sub_curve_info=None, pre_recog=None, ecurve=None, opos_sub=None, disable_selection=False, changeable_yscale=False, bridge_slice=None, toolbar=False, val_label=False)#

Bases: OutlineViewer2dFrame

Note that this class is used in the following four ways. UV elution X elution UV spectral X angular

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.

add_popup_menu_bind()#
build_bframe(bframe)#
cb_tracer()#
create_gradual_analysis(debug=True)#
create_popup_menu(event, menu_specs)#
draw_flat_wavelength()#
draw_restrict_lines(restrict)#
draw_selection(ax, restrict_info)#
draw_selection_guide(ax)#
get_restrict_info(fill=False)#
has_gra_dialog()#
on_figure_click(event)#
onselect(xmin, xmax)#
set_from_opposite_data_info()#
show_extra_info()#
show_gradual_analysis()#
show_guinier_inspector()#
show_popup_menu(event, menu_specs)#
spinbox_tracer(*args)#
class DataRestrictorFrame(parent, dialog, titles, x, y, data, epos, ecurve, el_color, restrict_list, toggle_info, disable_x_selection=False, averaged_ridge=False, changeable_yscale=False, sub_curve_info=None, pre_recog=None, x_axis_ends=None, bridge_slice=None, sub_curve_info_list=None)#

Bases: OutlineViewerFrame

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.

get_frame_classes()#