20. Mixture model evaluator

sasmodels.mixture

Mixture model

The product model multiplies the structure factor by the form factor, modulated by the effective radius of the form. The resulting model has a attributes of both the model description (with parameters, etc.) and the module evaluator (with call, release, etc.).

To use it, first load form factor P and structure factor S, then create ProductModel(P, S).

class sasmodels.mixture.MixtureKernel(model_info, kernels)

Bases: sasmodels.kernel.Kernel

release()
dim = None
dtype = None
info = None
results = None
class sasmodels.mixture.MixtureModel(model_info, parts)

Bases: sasmodels.kernel.KernelModel

make_kernel(q_vectors)
release()

Free resources associated with the model.

dtype = None
info = None
class sasmodels.mixture.MixtureParts(model_info, kernels, call_details, values)

Bases: object

next()
sasmodels.mixture.make_mixture_info(parts, operation='+')

Create info block for mixture model.