Changeset 40a87fa in sasmodels for sasmodels/models/core_shell_cylinder.py
- Timestamp:
- Aug 8, 2016 11:24:11 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:
- 2472141
- Parents:
- 2d65d51
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_cylinder.py
r42356c8 r40a87fa 52 52 53 53 To provide easy access to the orientation of the core-shell cylinder, we 54 define the axis of the cylinder using two angles $\theta$ and $\phi$. 54 define the axis of the cylinder using two angles $\theta$ and $\phi$. 55 55 (see :ref:`cylinder model <cylinder-angle-definition>`) 56 56 … … 130 130 ] 131 131 132 source = ["lib/polevl.c", "lib/sas_J1.c", "lib/gauss76.c", "core_shell_cylinder.c"]132 source = ["lib/polevl.c", "lib/sas_J1.c", "lib/gauss76.c", "core_shell_cylinder.c"] 133 133 134 134 def ER(radius, thickness, length): 135 135 """ 136 136 Returns the effective radius used in the S*P calculation 137 137 """ 138 138 radius = radius + thickness … … 143 143 def VR(radius, thickness, length): 144 144 """ 145 145 Returns volume ratio 146 146 """ 147 147 whole = pi * (radius + thickness) ** 2 * (length + 2 * thickness)
Note: See TracChangeset
for help on using the changeset viewer.