mcsas.bases.model.modeldata module¶
-
class
ModelData(cumInt, vset, wset, sset, numParams)[source]¶ Bases:
object-
chisqrInt¶ Make the model intensity comparable to the measured intensity. The difference of both will be calculated in BackgroundScalingFit in order to perform the chi-square test.
-
cumInt¶ Returns the cumulated model intensity or signal.
-
numParams¶ Returns the number of active (fitted) parameters.
-
sset¶ Returns the associated set of surfaces.
-
volumeFraction(scaling)[source]¶ Returns the volume fraction based on the provided scaling factor to match this model data to the measured data. Assumes that the weights ‘self.wset’ contain the scatterer volume squared.
-
vset¶ Returns the associated set of volumes.
-
wset¶ Returns the associated set of weights.
-