Changeset 2222134 in sasmodels for sasmodels/models/capped_cylinder.py
- Timestamp:
- Sep 30, 2016 11:07:16 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:
- a807206
- Parents:
- 6e5b2a7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/capped_cylinder.py
r42356c8 r2222134 96 96 Note: As the length of cylinder -->0, 97 97 it becomes a Convex Lens. 98 It must be that radius <(=) cap_radius.98 It must be that radius <(=) radius_cap. 99 99 [Parameters]; 100 100 scale: volume fraction of spheres, … … 102 102 radius: radius of the cylinder, 103 103 length: length of the cylinder, 104 cap_radius: radius of the semi-spherical cap,104 radius_cap: radius of the semi-spherical cap, 105 105 sld: SLD of the capped cylinder, 106 106 sld_solvent: SLD of the solvent. … … 122 122 # in the capped cylinder, and zero for no bar in the barbell model. In 123 123 # both models, one would be a pill. 124 [" cap_radius", "Ang", 20, [0, inf], "volume", "Cap radius"],124 ["radius_cap", "Ang", 20, [0, inf], "volume", "Cap radius"], 125 125 ["length", "Ang", 400, [0, inf], "volume", "Cylinder length"], 126 126 ["theta", "degrees", 60, [-inf, inf], "orientation", "In plane angle"], … … 133 133 demo = dict(scale=1, background=0, 134 134 sld=6, sld_solvent=1, 135 radius=260, cap_radius=290, length=290,135 radius=260, radius_cap=290, length=290, 136 136 theta=30, phi=15, 137 137 radius_pd=.2, radius_pd_n=1, 138 cap_radius_pd=.2, cap_radius_pd_n=1,138 radius_cap_pd=.2, radius_cap_pd_n=1, 139 139 length_pd=.2, length_pd_n=10, 140 140 theta_pd=15, theta_pd_n=45,
Note: See TracChangeset
for help on using the changeset viewer.