Changeset 7e6bea81 in sasmodels
- Timestamp:
- Sep 12, 2016 1:30:18 AM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 7b68dc5
- Parents:
- 897ca7f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/sphere.py
r9a4811a r7e6bea81 2 2 For information about polarised and magnetic scattering, see 3 3 the :ref:`magnetism` documentation. 4 documentation.5 4 6 5 Definition … … 16 15 17 16 where *scale* is a volume fraction, $V$ is the volume of the scatterer, 18 $r$ is the radius of the sphere , *background* is the background level and17 $r$ is the radius of the sphere and *background* is the background level. 19 18 *sld* and *sld_solvent* are the scattering length densities (SLDs) of the 20 scatterer and the solvent respectively .19 scatterer and the solvent respectively, whose difference is $\Delta\rho$. 21 20 22 21 Note that if your data is in absolute scale, the *scale* should represent … … 91 90 radius=120, 92 91 radius_pd=.2, radius_pd_n=45) 92 93 tests = [ 94 [{}, 0.2, 0.726362], 95 [{"scale": 1., "background": 0., "sld": 6., "sld_solvent": 1., 96 "radius": 120., "radius_pd": 0.2, "radius_pd_n":45}, 97 0.2, 0.228843], 98 [{"radius": 120., "radius_pd": 0.2, "radius_pd_n":45}, "ER", 120.], 99 [{"radius": 120., "radius_pd": 0.2, "radius_pd_n":45}, "VR", 1.], 100 ] 101 102
Note: See TracChangeset
for help on using the changeset viewer.