mcsas.dataobj.sasconfig module¶
-
class
GaussianSmearing[source]¶ Bases:
dataobj.sasconfig.SmearingConfig-
parameters= (None,)¶
-
setIntPoints(q)[source]¶ Sets smearing profile integration points for trapezoidal slit. Top (umbra) of trapezoid has full width xt, bottom of trapezoid (penumbra) has full width. Since the smearing function is assumed to be symmetrical, the integration parameters are calculated in the interval [0, xb/2]
-
showParams¶ A list of parameter names which defines the parameters and their ordering shown in a UI. To be overridden in sub classes.
-
updatePLimits(pLimit)[source]¶ Warning
method ‘dataobj.sasconfig.GaussianSmearing.updatePLimits’ undocumented
-
updatePUnit(newUnit)[source]¶ Warning
method ‘dataobj.sasconfig.GaussianSmearing.updatePUnit’ undocumented
-
updateQLimits(qLimit)[source]¶ Warning
method ‘dataobj.sasconfig.GaussianSmearing.updateQLimits’ undocumented
-
-
Parameter(*args, **kwargs)¶ Warning
function ‘dataobj.sasconfig.Parameter’ undocumented
-
class
SASConfig(*args, **kwargs)[source]¶ Bases:
dataobj.dataconfig.DataConfig-
prepareSmearing(q)[source]¶ Warning
method ‘dataobj.sasconfig.SASConfig.prepareSmearing’ undocumented
-
shortName= 'SAS data configuration'¶
-
showParams¶ A list of parameter names which defines the parameters and their ordering shown in a UI. To be overridden in sub classes.
-
smearing¶
-
-
class
SmearingConfig[source]¶ Bases:
bases.algorithm.algorithmbase.AlgorithmBaseAbstract base class, can’t be instantiated.
Creates instances from defined parameters and replaces the class attributes accordingly.
-
parameters= (None, None, None)¶
-
prepared¶
-
qOffset¶
-
shortName= 'SAS smearing configuration'¶
-
updatePLimits(pLimit)[source]¶ Warning
method ‘dataobj.sasconfig.SmearingConfig.updatePLimits’ undocumented
-
updatePUnit(newUnit)[source]¶ Warning
method ‘dataobj.sasconfig.SmearingConfig.updatePUnit’ undocumented
-
updateQLimits(qLimit)[source]¶ Warning
method ‘dataobj.sasconfig.SmearingConfig.updateQLimits’ undocumented
-
updateQUnit(newUnit)[source]¶ Warning
method ‘dataobj.sasconfig.SmearingConfig.updateQUnit’ undocumented
-
updateSmearingLimits(q)[source]¶ Warning
method ‘dataobj.sasconfig.SmearingConfig.updateSmearingLimits’ undocumented
-
weights¶
-
-
class
TrapezoidSmearing[source]¶ Bases:
dataobj.sasconfig.SmearingConfig-
halfTrapzPDF(x, c, d)[source]¶ Warning
method ‘dataobj.sasconfig.TrapezoidSmearing.halfTrapzPDF’ undocumented
-
parameters= (None, None)¶
-
setIntPoints(q)[source]¶ sets smearing profile integration points for trapezoidal slit. Top (umbra) of trapezoid has full width xt, bottom of trapezoid (penumbra) has full width. Since the smearing function is assumed to be symmetrical, the integration parameters are calculated in the interval [0, xb/2]
-
showParams¶ A list of parameter names which defines the parameters and their ordering shown in a UI. To be overridden in sub classes.
-
updatePLimits(pLimit)[source]¶ Warning
method ‘dataobj.sasconfig.TrapezoidSmearing.updatePLimits’ undocumented
-
updatePUnit(newUnit)[source]¶ Warning
method ‘dataobj.sasconfig.TrapezoidSmearing.updatePUnit’ undocumented
-
updateQLimits(qLimit)[source]¶ Warning
method ‘dataobj.sasconfig.TrapezoidSmearing.updateQLimits’ undocumented
-