1. Sasmodels package¶
sasmodels.__init__
¶
sasmodels¶
sasmodels is a package containing models for small angle neutron and xray scattering. Models supported are the one dimensional circular average and two dimensional oriented patterns. As well as the form factor calculations for the individual shapes sasmodels also provides automatic shape polydispersity, angular dispersion and resolution convolution. SESANS patterns can be computed for any model.
Models can be written in python or in C. C models can run on the GPU if
OpenCL drivers are available. See generate
for details on
defining new models.
- sasmodels.__init__.data_files()¶
Return the data files to be installed with the package.
The format is a list of (directory, [files…]) pairs which can be used directly in setup(…,data_files=…) for setup.py.