NewCylinderModel

sans.models.NewCylinderModel

This software was developed by the University of Tennessee as part of the Distributed Data Analysis of Neutron Scattering Experiments (DANSE) project funded by the US National Science Foundation.

If you use DANSE applications to do scientific research that leads to publication, we ask that you acknowledge the use of the software with the following sentence:

“This work benefited from DANSE software developed under NSF award DMR-0520547.”

copyright 2008, University of Tennessee

class sans.models.NewCylinderModel.CylinderModel

Bases: CCylinderModel, sans.models.BaseModel.BaseModel

Class that evaluates a CylinderModel model. This file was auto-generated from ../c_extensions/cylinder.h. Refer to that file and the structure it contains for details of the model. List of default parameters:

scale = 1.0 radius = 20.0 A length = 400.0 A contrast = 3e-006 A-2 background = 0.0 cm-1 cyl_theta = 1.0 rad cyl_phi = 1.0 rad
calculate_ER
Evaluate the model at a given Q or Q, phi
clone()
Return a identical copy of self
dispersion
Dispersion parameters
evalDistribution
Evaluate the model at a given Q or Qx, Qy vector
getParam(name)

Set the value of a model parameter

Parameters:
  • name – name of the parameter
  • value – value of the parameter
getParamList()
Return a list of all available parameters for the model
getParamListWithToken(token, member)
getParamWithToken(name, token, member)
log
Log
params
Parameters
reset
Reset pair correlation
run(x=0.0)
Evaluate the model @param x: input q, or [q,phi] @return: scattering function P(q)
runXY(x=0.0)
Evaluate the model in cartesian coordinates @param x: input q, or [qx, qy] @return: scattering function P(q)
setParam(name, value)

Set the value of a model parameter

Parameters:
  • name – name of the parameter
  • 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

MultiShellModel

Next topic

NoStructure

This Page