OnionExpShellModel

sans.models.OnionExpShellModel

class sans.models.OnionExpShellModel.OnionExpShellModel

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.

__add__()
__div__()
__init__()
__module__ = 'sans.models.OnionExpShellModel'
__mul__()
__str__()
Returns:string representatio
__sub__()
_clone()

Internal utility function to copy the internal data members to a fresh copy.

_setParamHelper()

Helper function to setParam

_set_details()

Concatenate details of the original model to create this model details

_set_dispersion()

model dispersions

_set_fixed_params()

Fill the self.fixed list with the model fixed list

_set_params()

Concatenate the parameters of the model to create this model parameters

_set_xtra_model_param()

Set params of original model that are hidden from this model

calculate_ER()
clone()

Returns a new object identical to the current object

evalDistribution()

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()

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()
getParamWithToken()
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()

Check if a given parameter is fittable or not

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

Evaluate the model

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

runXY()

Evaluate the model

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

setParam()

Set the value of a model parameter

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

setParamWithToken()
set_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