lib.frontend.process_widgets package¶
Submodules¶
lib.frontend.process_widgets.warea_detector module¶
Module for area detector widgets.
- lib.frontend.process_widgets.warea_detector.display_widgets_area_detector(expt)¶
Set and display the widgets for processing area detector.
- Parameters:
expt (object) – Object of the class Experiment.
lib.frontend.process_widgets.wdata_1d module¶
Module for data 1D widgets.
- lib.frontend.process_widgets.wdata_1d.display_interactive_1d_plot(scan)¶
Extract the 0D sensors from the nxs file and display an interactive 1D plot.
- Parameters:
scan (object) – Object of the class Scan.
- Raises:
SystemExit('Could not open Nexus file.')) – If the Nexus file cannot be accessed.
- lib.frontend.process_widgets.wdata_1d.display_widgets_1d_fit(expt, function_name)¶
Set and display the widgets for fitting 1d data with a predefined function. So far, no widget is required and this function directly creates the cell. This function leaves the possibility to add future intermediate widgets.
- Parameters:
expt (object) – Object of the class Experiment.
function_name (str) – Predefined function to be used for the fit, e.g. ‘gaussian’ or ‘erf’.
- lib.frontend.process_widgets.wdata_1d.display_widgets_data_1d(expt)¶
Set and display the widgets for processing 1d data. So far, no widget is required and this function directly creates the cell. This function leaves the possibility to add future intermediate widgets.
- Parameters:
expt (object) – Object of the class Experiment.
- lib.frontend.process_widgets.wdata_1d.display_widgets_energy_calib(expt)¶
Set and display the widgets for energy calibration with standards.
- Parameters:
expt (object) – Object of the class Experiment.
- Raises:
SystemExit('Could not open Nexus file.')) – If the Nexus file cannot be accessed.
lib.frontend.process_widgets.wgixd module¶
Module for GIXD widgets.
- lib.frontend.process_widgets.wgixd.display_widgets_calib_thetaz()¶
Set and display the widgets for calibration of theta z for GIXD. So far, no widget is required and this function directly creates the cell. This function leaves the possibility to add future intermediate widgets.
- lib.frontend.process_widgets.wgixd.display_widgets_gixd(expt)¶
Set and display the widgets for processing GIXD.
- Parameters:
expt (object) – Object of the class Experiment.
- lib.frontend.process_widgets.wgixd.display_widgets_vineyard(expt)¶
Set and display the widgets for extracting the Vineyard peak. So far, no widget is required and this function directly creates the cell. This function leaves the possibility to add future intermediate widgets.
- Parameters:
expt (object) – Object of the class Experiment.
lib.frontend.process_widgets.wgixs module¶
Module for GIXS widgets.
- lib.frontend.process_widgets.wgixs.display_widgets_gixs(expt)¶
Set and display the widgets for processing GIXS.
- Parameters:
expt (object) – Object of the class Experiment.
lib.frontend.process_widgets.wisotherm module¶
Module for isotherm widgets.
- lib.frontend.process_widgets.wisotherm.display_widgets_isotherm(expt)¶
Set and display the widgets for processing isotherms.
- Parameters:
expt (object) – Object of the class Experiment.
lib.frontend.process_widgets.wxrf module¶
Module for XRF widgets.
- lib.frontend.process_widgets.wxrf.display_widgets_identify_peaks(expt, dw)¶
Prepare and display the widgets for identification of peaks.
- Parameters:
expt (object) – Object of the class Experiment.
dw (dict) – Dictionnary of widgets.
- lib.frontend.process_widgets.wxrf.display_widgets_xrf(expt)¶
Set and display the widgets for processing XRF.
- Parameters:
expt (object) – Object of the class Experiment.
lib.frontend.process_widgets.wxrr module¶
Module for XRR widgets (on solids and liquids).
- lib.frontend.process_widgets.wxrr.display_widgets_calib_xrr_liquid(expt)¶
Set and display the widgets for calibration of XRR on liquid.
- Parameters:
expt (object) – Object of the class Experiment.
- lib.frontend.process_widgets.wxrr.display_widgets_xrr_liquid(expt)¶
Set and display the widgets for processing XRR on a liquid.
- Parameters:
expt (object) – Object of the class Experiment.
- lib.frontend.process_widgets.wxrr.display_widgets_xrr_solid(expt)¶
Set and display the widgets for processing XRR on a solid.
- Parameters:
expt (object) – Object of the class Experiment.
- lib.frontend.process_widgets.wxrr.preview_direct_xrr(expt)¶
Extract and display the ROI of the direct beam.
- Parameters:
expt (object) – Object of the class Experiment.
- lib.frontend.process_widgets.wxrr.preview_indiv_scan_xrr(nxs_name, expt)¶
Extract and display the ROIs, for interactive preview.
- Parameters:
nxs_name (str) – Nexus name, e.g. SIRIUS_2020_03_12_0756.nxs.
expt (object) – Object of the class Experiment.