CoreMultiShellModel

sans.models.CoreMultiShellModel

class sans.models.CoreMultiShellModel.CoreMultiShellModel(multfactor=1)

Bases: sans.models.BaseComponent.BaseComponent

This multi-model is based on CoreFourShellModel and provides the capability of changing the number of shells between 1 and 4.

calculate_ER()
clone()

Returns a new object identical to the current object

evalDistribution(x=[])

Evaluate the model in cartesian coordinates

: param x: input q[], or [qx[], qy[]] : return: scattering function P(q[])

getDispParamList()

Return a list of all available parameters for the model

getParam(name)

Set the value of a model parameter

Parameters:name – name of the parameter
getParamList()

Return a list of all available parameters for the model

getParamListWithToken(token, member)
getParamWithToken(name, token, member)
getProfile()

Get SLD profile

: return: (r, beta) where r is a list of radius of the transition points
beta is a list of the corresponding SLD values

: Note: This works only for func_shell# = 2.

is_fittable(par_name)

Check if a given parameter is fittable or not

Parameters:par_name – the parameter name to check
run(x=0.0)

Evaluate the model

: param x: input q-value (float or [float, float] as [r, theta]) : return: (DAB value)

runXY(x=0.0)

Evaluate the model

: param x: input q-value (float or [float, float] as [qx, qy]) : return: DAB value

setParam(name, value)

Set the value of a model parameter

: param name: name of the parameter : param value: value of the parameter

setParamWithToken(name, value, token, member)
set_dispersion(parameter, dispersion)

Set the dispersion object for a model parameter

: param parameter: name of the parameter [string] :dispersion: dispersion object of type DispersionModel

Table Of Contents

Previous topic

CoreFourShellModel

Next topic

CoreShellCylinderModel

This Page