Changeset 2222134 in sasmodels for sasmodels/models/barbell.py
- Timestamp:
- Sep 30, 2016 9:07:16 AM (7 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:
- a807206
- Parents:
- 6e5b2a7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/barbell.py
r42356c8 r2222134 13 13 .. figure:: img/barbell_geometry.jpg 14 14 15 Barbell geometry, where $r$ is *radius*, $R$ is * bell_radius* and15 Barbell geometry, where $r$ is *radius*, $R$ is *radius_bell* and 16 16 $L$ is *length*. Since the end cap radius $R \geq r$ and by definition 17 17 for this geometry $h < 0$, $h$ is then defined by $r$ and $R$ as … … 103 103 parameters = [["sld", "1e-6/Ang^2", 4, [-inf, inf], "sld", "Barbell scattering length density"], 104 104 ["sld_solvent", "1e-6/Ang^2", 1, [-inf, inf], "sld", "Solvent scattering length density"], 105 [" bell_radius", "Ang", 40, [0, inf], "volume", "Spherical bell radius"],105 ["radius_bell", "Ang", 40, [0, inf], "volume", "Spherical bell radius"], 106 106 ["radius", "Ang", 20, [0, inf], "volume", "Cylindrical bar radius"], 107 107 ["length", "Ang", 400, [0, inf], "volume", "Cylinder bar length"], … … 116 116 demo = dict(scale=1, background=0, 117 117 sld=6, sld_solvent=1, 118 bell_radius=40, radius=20, length=400,118 radius_bell=40, radius=20, length=400, 119 119 theta=60, phi=60, 120 120 radius_pd=.2, radius_pd_n=5,
Note: See TracChangeset
for help on using the changeset viewer.