mcsas.bases.model.sasmodel module¶
-
class
SASModel[source]¶ Bases:
bases.model.scatteringmodel.ScatteringModel-
calcIntensity(data, compensationExponent=None)[source]¶ Returns the intensity I, the volume \(v_{abs}\) and the intensity weights w for a single parameter contribution over all q:
\(I(q,r) = F^2(q,r) \cdot w(r)\)
-
canSmear= False¶
-
getQ(dataset)[source]¶ This is a function that returns Q. In case of smearing, dataset itself is a 2D matrix of Q-values. When smearing is not enabled, dataset.q contains a 1D vector of q.
I do realize that this is not a good way of doing things. This should be replaced at a given point in time by a better solution within sasdata.
-