sasmodels¶
Small angle X-ray and Neutron scattering (SAXS and SANS) examines the scattering patterns produced by a beam travelling through the sample and scattering at low angles. The scattering is computed as a function of reciprocal space \(q\), which arises from a combination of beam wavelength and scattering angles. Each pixel on the detector corresponds to a different scattering angle, and has a distinct \(q_x\) and \(q_y\). If the sample is unoriented, the scattering pattern will appear as rings on the detector. In this case, a circular average can be taken with 1-dimension data at \(q = \surd (q_x^2 + q_y^2)\) compared to the orientationally averaged SAS scattering pattern.
The sasmodels package provides theory functions for small angle scattering calculations for different shapes, including the effects of resolution, polydispersity and orientational dispersion.
Release: | 0.97 |
---|---|
Date: | Nov 06, 2017 |
Download pdf version here
- SAS Models Guide
- 1. Introduction
- 2. sasmodels Setup
- 3. GPU Setup
- 4. Polydispersity Distributions
- 5. Resolution Functions
- 6. Polarisation/Magnetic Scattering
- 7. SANS to SESANS conversion
- 8. Fitting SESANS Data
- 9. Writing a Plugin Model
- 10. Scripting Interface
- 11. References
- 1. Model Functions
- 1.1. Cylinder Functions
- 1.1.1. barbell
- 1.1.2. capped_cylinder
- 1.1.3. core_shell_bicelle
- 1.1.4. core_shell_bicelle_elliptical
- 1.1.5. core_shell_cylinder
- 1.1.6. cylinder
- 1.1.7. elliptical_cylinder
- 1.1.8. flexible_cylinder
- 1.1.9. flexible_cylinder_elliptical
- 1.1.10. hollow_cylinder
- 1.1.11. pearl_necklace
- 1.1.12. pringle
- 1.1.13. stacked_disks
- 1.2. Ellipsoid Functions
- 1.3. Lamellae Functions
- 1.4. Paracrystal Functions
- 1.5. Parallelepiped Functions
- 1.6. Sphere Functions
- 1.7. Shape-Independent Functions
- 1.7.1. be_polyelectrolyte
- 1.7.2. broad_peak
- 1.7.3. correlation_length
- 1.7.4. dab
- 1.7.5. fractal
- 1.7.6. fractal_core_shell
- 1.7.7. gauss_lorentz_gel
- 1.7.8. gaussian_peak
- 1.7.9. gel_fit
- 1.7.10. guinier
- 1.7.11. guinier_porod
- 1.7.12. line
- 1.7.13. lorentz
- 1.7.14. mass_fractal
- 1.7.15. mass_surface_fractal
- 1.7.16. mono_gauss_coil
- 1.7.17. peak_lorentz
- 1.7.18. poly_gauss_coil
- 1.7.19. polymer_excl_volume
- 1.7.20. porod
- 1.7.21. power_law
- 1.7.22. rpa
- 1.7.23. spinodal
- 1.7.24. star_polymer
- 1.7.25. surface_fractal
- 1.7.26. teubner_strey
- 1.7.27. two_lorentzian
- 1.7.28. two_power_law
- 1.7.29. unified_power_Rg
- 1.8. Structure Factors
- 1.1. Cylinder Functions
- Sasmodels Developers Guide
- Reference
- 1. Sasmodels package
- 2. Bumps interface
- 3. Batch compare models on different compute engines
- 4. Compare models on different compute engines
- 5. Sasview to sasmodel converter
- 6. Model access
- 7. Data layout and plotting routines
- 8. Parameter packing for kernel calls
- 9. Simple interface
- 10. Annotate exceptions
- 11. Model parser
- 12. Evaluator type definitions
- 13. OpenCL model evaluator
- 14. Ctypes model evaluator
- 15. Python model evaluator
- 16. Identify all parameters in all models
- 17. Mixture model evaluator
- 18. Unit test support
- 19. Parameter and model definitions
- 20. Product model evaluator
- 21. 1-D resolution functions
- 22. 2-D resolution functions
- 23. Convert doc strings the web pages
- 24. Sasview interface
- 25. SESANS calculation routines
- 26. Distribution functions