sas.qtgui.Calculators package

Submodules

sas.qtgui.Calculators.DataOperationUtilityPanel module

sas.qtgui.Calculators.DensityPanel module

class sas.qtgui.Calculators.DensityPanel.DensityPanel(*args: Any, **kwargs: Any)[source]

Bases: PyQt5.QtWidgets.

dataChanged(top, bottom)[source]
displayHelp()[source]
formulaChanged(current_text)[source]
massChanged(current_text)[source]
modelReset()[source]
setMode(mode)[source]
setupMapper()[source]
setupModel()[source]
setupUi()[source]
volumeChanged(current_text)[source]
sas.qtgui.Calculators.DensityPanel.toMolarMass(formula)[source]

sas.qtgui.Calculators.GenericScatteringCalculator module

sas.qtgui.Calculators.KiessigPanel module

class sas.qtgui.Calculators.KiessigPanel.KiessigPanel(parent=None)[source]

Bases: PyQt5.QtWidgets.QDialog, sas.qtgui.Calculators.UI.KiessigPanel.Ui_KiessigPanel

onClose()[source]

close the window containing this panel

onCompute()[source]

Execute the computation of thickness

onHelp()[source]

Bring up the Kiessig fringe calculator Documentation whenever the HELP button is clicked. Calls DocumentationWindow with the path of the location within the documentation tree (after /doc/ ….”.

sas.qtgui.Calculators.ResolutionCalculatorPanel module

sas.qtgui.Calculators.SldPanel module

class sas.qtgui.Calculators.SldPanel.NeutronSldResult(neutron_wavelength, neutron_sld_real, neutron_sld_imag, neutron_inc_xs, neutron_abs_xs, neutron_length)[source]

Bases: object

class sas.qtgui.Calculators.SldPanel.SldPanel(parent=None)[source]

Bases: PyQt5.QtWidgets.QDialog

calculateSLD()[source]
closePanel()[source]

close the window containing this panel

dataChanged(top, bottom)[source]
displayHelp()[source]
modelReset()[source]
recalculateSLD()[source]
setupMapper()[source]
setupModel()[source]
setupUi()[source]
class sas.qtgui.Calculators.SldPanel.XraySldResult(xray_wavelength, xray_sld_real, xray_sld_imag)[source]

Bases: object

sas.qtgui.Calculators.SldPanel.neutronSldAlgorithm(molecular_formula, mass_density, neutron_wavelength)[source]
sas.qtgui.Calculators.SldPanel.xraySldAlgorithm(molecular_formula, mass_density, xray_wavelength)[source]

sas.qtgui.Calculators.SlitSizeCalculator module

Slit Size Calculator Panel

class sas.qtgui.Calculators.SlitSizeCalculator.SlitSizeCalculator(parent=None)[source]

Bases: PyQt5.QtWidgets.QDialog, sas.qtgui.Calculators.UI.SlitSizeCalculator.Ui_SlitSizeCalculator

Provides the slit length calculator GUI.

calculateSlitSize(data=None)[source]

Computes slit lenght from given 1D data

chooseFile()[source]

Shows the Open file dialog and returns the chosen path(s)

clearResults()[source]

Clear the content of output LineEdits

onBrowse()[source]

Browse the file and calculate slit lenght upon loading

onClose()[source]

close the window containing this panel

onHelp()[source]

Bring up the Slit Size Calculator calculator Documentation whenever the HELP button is clicked. Calls DocumentationWindow with the path of the location within the documentation tree (after /doc/ ….”.

Module contents