Changeset e65a3e7 in sasmodels for sasmodels/models/capped_cylinder.py
- Timestamp:
- Mar 19, 2016 5:37:29 PM (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:
- aa24114
- Parents:
- 81d3a0c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/capped_cylinder.py
r2f0c07d re65a3e7 3 3 Like :ref:`barbell`, this is a sphereocylinder with end caps that have a 4 4 radius larger than that of the cylinder, but with the center of the end cap 5 radius lying within the cylinder. This model simply becomes thea convex5 radius lying within the cylinder. This model simply becomes a convex 6 6 lens when the length of the cylinder $L=0$. See the diagram for the details 7 7 of the geometry and restrictions on parameter values. … … 95 95 end cap radius lies within the cylinder. 96 96 Note: As the length of cylinder -->0, 97 it becomes a Convex Lens.97 it becomes a Convex Lens. 98 98 It must be that radius <(=) cap_radius. 99 99 [Parameters]; … … 104 104 cap_radius: radius of the semi-spherical cap, 105 105 sld: SLD of the capped cylinder, 106 s olvent_sld: SLD of the solvent.106 sld_solvent: SLD of the solvent. 107 107 """ 108 108 category = "shape:cylinder" … … 110 110 # ["name", "units", default, [lower, upper], "type", "description"], 111 111 parameters = [["sld", "1e-6/Ang^2", 4, [-inf, inf], "", "Cylinder scattering length density"], 112 ["s olvent_sld", "1e-6/Ang^2", 1, [-inf, inf], "", "Solvent scattering length density"],112 ["sld_solvent", "1e-6/Ang^2", 1, [-inf, inf], "", "Solvent scattering length density"], 113 113 ["radius", "Ang", 20, [0, inf], "volume", "Cylinder radius"], 114 114 … … 132 132 133 133 demo = dict(scale=1, background=0, 134 sld=6, s olvent_sld=1,134 sld=6, sld_solvent=1, 135 135 radius=260, cap_radius=290, length=290, 136 136 theta=30, phi=15, … … 142 142 oldname = 'CappedCylinderModel' 143 143 oldpars = dict(sld='sld_capcyl', 144 s olvent_sld='sld_solv',144 sld_solvent='sld_solv', 145 145 length='len_cyl', 146 146 radius='rad_cyl',
Note: See TracChangeset
for help on using the changeset viewer.