Baseline.LpmInspect#
Baseline.LpmInspect.py
Copyright (c) 2020-2023, SAXS Team, KEK-PF
- class FromToSpinBoxPair(parent, text=None, range_=slice(0, 3, None), bound=(0, 10))#
Bases:
Frame
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.
- config(state)#
Configure resources of a widget.
The values for resources are specified as keyword arguments. To get an overview about the allowed keyword arguments call the method keys.
- get_vars()#
- class LpmInspector(parent, md, suppress_titles=False)#
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.
- baseline_manually_tracer(xmax, init_call=False)#
- blink_start(*args)#
- body(frame)#
create dialog body.
return widget that should have initial focus. This method should be overridden, and is called by the __init__ method.
- buid_baseline_type_buttons(c1frame)#
- build_control_widgets(pframe)#
- cancel()#
- get_end_slices()#
- get_init_end_ranges(xmax)#
- onselect(xmin, xmax)#
- redraw()#
- save_the_figure(folder=None, file=None)#
- show()#
- update_selector()#
- xray_baseline_type_tracer(*args)#
- demo(root, in_folder, md, integral=False, for_all_q=True, peakno=None, smooth_line=True, show_preview=False)#
- demo_impl(fig, in_folder, md, j0=0, integral=False, for_all_q=True, peakno=None, smooth_line=False, show_scd=False, show_lpm_fixed=False, suppress_titles=False, end_slices=None, logger=None)#