OnionExpShellModel

sans.models.OnionExpShellModel

class sans.models.OnionExpShellModel.OnionExpShellModel(n_shells=1)

Bases: sans.models.BaseComponent.BaseComponent

This multi-model is based on CoreMultiShellModel with exponential func shells and provides the capability of changing the number of shells between 1 and 10.

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 and beta is a list of the corresponding SLD values
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: (I value)

runXY(x=0.0)

Evaluate the model

: param x: input q-value (float or [float, float] as [qx, qy]) : return: I 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

OblateModel

Next topic

OnionModel

This Page