sas.qtgui.Perspectives.Inversion package
Subpackages
Submodules
sas.qtgui.Perspectives.Inversion.DMaxExplorerWidget module
Dialog panel to explore the P(r) inversion results for a range of D_max value. User picks a number of points and a range of distances, then can toggle between inversion outputs and see their distribution as a function of D_max.
sas.qtgui.Perspectives.Inversion.InversionLogic module
-
class
sas.qtgui.Perspectives.Inversion.InversionLogic.
InversionLogic
(data=None)[source] Bases:
object
All the data-related logic. This class deals exclusively with Data1D/2D No QStandardModelIndex here.
-
add_errors
(sigma=0.05)[source] Adds errors to data set is they are not available. Uses \(\Delta y = \sigma | y |\).
-
computeDataRange
()[source] Wrapper for calculating the data range based on local dataset
-
computeRangeFromData
(data)[source] Compute the minimum and the maximum range of the data return the npts contains in data
-
property
data
-
isLoadedData
()[source] accessor
-
new1DPlot
(out, pr, q=None)[source] Create a new 1D data instance based on fitting results
-
newPRPlot
(out, pr, cov=None)[source]
-
sas.qtgui.Perspectives.Inversion.InversionPerspective module
-
sas.qtgui.Perspectives.Inversion.InversionPerspective.
is_float
(value)[source] Converts text input values to floats. Empty strings throw ValueError
sas.qtgui.Perspectives.Inversion.InversionUtils module
sas.qtgui.Perspectives.Inversion.Thread module
-
class
sas.qtgui.Perspectives.Inversion.Thread.
CalcPr
(pr, nfunc=5, error_func=None, completefn=None, updatefn=None, yieldtime=0.01, worktime=0.01)[source] Bases:
sas.sascalc.data_util.calcthread.CalcThread
Compute P(r)
-
compute
()[source] Perform P(r) inversion
-
-
class
sas.qtgui.Perspectives.Inversion.Thread.
EstimateNT
(pr, nfunc=5, error_func=None, completefn=None, updatefn=None, yieldtime=0.01, worktime=0.01)[source] Bases:
sas.sascalc.data_util.calcthread.CalcThread
-
compute
()[source] Calculates the estimate
-
isquit
()[source]
-
-
class
sas.qtgui.Perspectives.Inversion.Thread.
EstimatePr
(pr, nfunc=5, error_func=None, completefn=None, updatefn=None, yieldtime=0.01, worktime=0.01)[source] Bases:
sas.sascalc.data_util.calcthread.CalcThread
Estimate P(r)
-
compute
()[source] Calculates the estimate
-