mcsas.models.sphere module

Parameter(*args, **kwargs)

Warning

function ‘models.sphere.Parameter’ undocumented

class Sphere[source]

Bases: bases.model.sasmodel.SASModel

Form factor of a sphere

absVolume()[source]

Calculates the volume of a sphere taking the scattering length density difference \(\Delta\rho\) into account:

\(v_{abs}(r, \Delta\rho) = v_{sph}(r) \cdot \Delta\rho^2\)

canSmear = True
formfactor(dataset)[source]

Calculates the form factor of a sphere defined by:

\(F(q, r) = { 3 ~ sin(qr) - qr \cdot cos(qr) \over (qr)^3 }\)

parameters = (None, None)
shortName = 'Sphere'
surface()[source]

Calculates the surface of a sphere defined by:

\(s(r) = 4 \pi r^2\)

volume()[source]

Calculates the volume of a sphere defined by:

\(v(r) = {4\pi \over 3} r^3\)

test()[source]

Warning

function ‘models.sphere.test’ undocumented