mcsas.models.lmadensesphere module

class LMADenseSphere[source]

Bases: bases.model.sasmodel.SASModel

Form factor of a sphere convoluted with a structure factor, equations 15-17 from Pedersen, J. Appl. Cryst. 27 (1994), 595–608. Correct eqn given in Kinning and Thomas, Macromolecules 17 (1984) 1712. Internally set parameters are volume fraction of the hard spheres, and the multiplication factor /mf/ for an additional stand-off distance between the hard spheres: Rh=mf*R where Rh is the hard-sphere radius (“interaction radius”) used in the structure factor, R is the radius of the sphere, and mf is the multiplication factor.

absVolume()[source]

Forwarding to usual volume() by default. Can be overridden to include SLD.

canSmear = True
formfactor(dataset)[source]

Calculates the Rayleigh function of this model. Reimplement this for new models.

parameters = (None, None, None, None)
shortName = 'LMADenseSphere'
volume()[source]

Calculates the volume of this model, taking compensationExponent into account from input or preset parameters. Reimplement this for new models.

Parameter(*args, **kwargs)

Warning

function ‘models.lmadensesphere.Parameter’ undocumented