Changeset f0aa7f8 in sasmodels
- Timestamp:
- Feb 18, 2016 1:01:36 PM (9 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:
- ef822dc
- Parents:
- 068cebd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_cylinder.py
reb69cce rf0aa7f8 155 155 156 156 def ER(radius, thickness, length): 157 """ 158 Returns the effective radius used in the S*P calculation 159 """ 157 160 radius = radius + thickness 158 161 length = length + 2 * thickness … … 161 164 162 165 def VR(radius, thickness, length): 166 """ 167 Returns volume ratio 168 """ 163 169 whole = pi * (radius + thickness) ** 2 * (length + 2 * thickness) 164 170 core = pi * radius ** 2 * length
Note: See TracChangeset
for help on using the changeset viewer.