Test plug-in model These are links of available functions:
http://docs.python.org/library/math.html http://www.scipy.org/Numpy_Functions_by_Category
Bases: sas.models.pluginmodel.Model1DPlugin
##YOU CAN BE MODIFY ANYTHING BETWEEN ##DESCRIPTION OF MODEL PLUG-IN GOES HERE
##EXAMPLE: Class that evaluates a polynomial model.
Evaluate the model :param x: input x :return: function value
Get the model name same as the file name
Test plug-in model These are links of available functions:
http://docs.python.org/library/math.html http://www.scipy.org/Numpy_Functions_by_Category
Bases: sas.models.pluginmodel.Model1DPlugin
##YOU CAN BE MODIFY ANYTHING BETWEEN ##DESCRIPTION OF MODEL PLUG-IN GOES HERE
##EXAMPLE: Class that evaluates a polynomial model.
Evaluate the model
Parameters: | x – input x |
---|---|
Returns: | function value |
Get the model name same as the file name
Bases: sas.models.pluginmodel.Model1DPlugin
Use for A*p1(Q)+(1-A)*p2(Q); Note: P(Q) refers to ‘form factor’ model.
Evaluate the model in cartesian coordinates
Parameters: | x – input q[], or [qx[], qy[]] |
---|---|
Returns: | scattering function P(q[]) |
Fill the description for P(Q)+P(Q)
Set the value of a model parameter
Parameters: | name – name of the parameter |
---|
Get SLD profile of p_model if exists
Get the model name same as the file name
Evaluate the model
Parameters: | x – input q-value (float or [float, float] as [r, theta]) |
---|---|
Returns: | (scattering function value) |
Evaluate the model
Parameters: | x – input q-value (float or [float, float] as [qx, qy]) |
---|---|
Returns: | scattering function value |
Set the value of a model parameter
Parameters: |
|
---|
Set the dispersion object for a model parameter
Parameters: | parameter – name of the parameter [string] |
---|---|
Dispersion: | dispersion object of type DispersionModel |
Bases: sas.models.pluginmodel.Model1DPlugin
Use for p1(Q)+p2(Q); Note: P(Q) refers to ‘form factor’ model.
Evaluate the model in cartesian coordinates
Parameters: | x – input q[], or [qx[], qy[]] |
---|---|
Returns: | scattering function P(q[]) |
Fill the description for P(Q)+P(Q)
Set the value of a model parameter
Parameters: | name – name of the parameter |
---|
Get SLD profile of p_model if exists
Get the model name same as the file name
Evaluate the model
Parameters: | x – input q-value (float or [float, float] as [r, theta]) |
---|---|
Returns: | (scattering function value) |
Evaluate the model
Parameters: | x – input q-value (float or [float, float] as [qx, qy]) |
---|---|
Returns: | scattering function value |
Set the value of a model parameter
Parameters: |
|
---|
Set the dispersion object for a model parameter
Parameters: | parameter – name of the parameter [string] |
---|---|
Dispersion: | dispersion object of type DispersionModel |
Test plug-in model These are links of available functions:
http://docs.python.org/library/math.html http://www.scipy.org/Numpy_Functions_by_Category
Bases: sas.models.pluginmodel.Model1DPlugin
##YOU CAN BE MODIFY ANYTHING BETWEEN ##DESCRIPTION OF MODEL PLUG-IN GOES HERE
##EXAMPLE:Class that evaluates a cos(x) model.
Evaluate the model
Parameters: | x – input x |
---|---|
Returns: | function value |
Get the model name same as the file name
Test plug-in model These are links of available functions:
http://docs.python.org/library/math.html http://www.scipy.org/Numpy_Functions_by_Category
Bases: sas.models.pluginmodel.Model1DPlugin
##YOU CAN BE MODIFY ANYTHING BETWEEN ##DESCRIPTION OF MODEL PLUG-IN GOES HERE
##EXAMPLE: Class that evaluates a polynomial model.
Evaluate the model
Parameters: | x – input x |
---|---|
Returns: | function value |
Get the model name same as the file name