Provide functionality for a C extension model
WARNING: | THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY DO NOT MODIFY THIS FILE, MODIFY ..c_extensions |
---|
Bases: CRPAModel, sans.models.BaseComponent.BaseComponent
Class that evaluates a RPAModel model. This file was auto-generated from ..c_extensions
Refer to that file and the structure it contains for details of the model. List of default parameters:
lcase_n = 0.0 ba = 5.0 bb = 5.0 bc = 5.0 bd = 5.0 Kab = -0.0004 Kac = -0.0004 Kad = -0.0004 Kbc = -0.0004 Kbd = -0.0004 Kcd = -0.0004 scale = 1.0 background = 0.0 [1/cm] Na = 1000.0 Phia = 0.25 va = 100.0 La = 1e-12 Nb = 1000.0 Phib = 0.25 vb = 100.0 Lb = 1e-12 Nc = 1000.0 Phic = 0.25 vc = 100.0 Lc = 1e-12 Nd = 1000.0 Phid = 0.25 vd = 100.0 Ld = 0.0
Calculate the effective radius for P(q)*S(q)
Returns: | the value of the effective radius |
---|
Return a identical copy of self
Dispersion parameters
Evaluate the model in cartesian coordinates
Parameters: | x – input q[], or [qx[], qy[]] |
---|---|
Returns: | scattering function P(q[]) |
Return a list of all available parameters for the model
Set the value of a model parameter
Parameters: | name – name of the parameter |
---|
Return a list of all available parameters for the model
Check if a given parameter is fittable or not
Parameters: | par_name – the parameter name to check |
---|
Log
Parameters
Reset pair correlation
Evaluate the model
Parameters: | x – input q, or [q,phi] |
---|---|
Returns: | scattering function P(q) |
Evaluate the model in cartesian coordinates
Parameters: | x – input q, or [qx, qy] |
---|---|
Returns: | scattering function P(q) |
Set the value of a model parameter
Parameters: |
|
---|
Set the dispersion object for a model parameter
Parameters: |
|
---|