Provide functionality for a C extension model
WARNING: | THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY DO NOT MODIFY THIS FILE, MODIFY ..c_extensionshollow_cylinder.h AND RE-RUN THE GENERATOR SCRIPT |
---|
Bases: CHollowCylinderModel, sans.models.BaseComponent.BaseComponent
Class that evaluates a HollowCylinderModel model. This file was auto-generated from ..c_extensionshollow_cylinder.h. Refer to that file and the structure it contains for details of the model. List of default parameters:
scale = 1.0 core_radius = 20.0 [A] radius = 30.0 [A] length = 400.0 [A] sldCyl = 6.3e-06 [1/A^(2)] sldSolv = 1e-06 [1/A^(2)] background = 0.01 [1/cm] axis_theta = 90.0 [deg] axis_phi = 0.0 [deg]
alias of type
x.__delattr__(‘name’) <==> del x.name
x.__getattribute__(‘name’) <==> x.name
x.__hash__() <==> hash(x)
Initialization
helper for pickle
x.__repr__() <==> repr(x)
x.__setattr__(‘name’, value) <==> x.name = value
restore the state of a model from pickle
x.__str__() <==> str(x)
list of weak references to the object (if defined)
Internal utility function to copy the internal data members to a fresh copy.
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: |
|
---|