Changes in sasmodels/models/core_shell_cylinder.py [f0aa7f8:eb69cce] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_cylinder.py
rf0aa7f8 reb69cce 155 155 156 156 def ER(radius, thickness, length): 157 """158 Returns the effective radius used in the S*P calculation159 """160 157 radius = radius + thickness 161 158 length = length + 2 * thickness … … 164 161 165 162 def VR(radius, thickness, length): 166 """167 Returns volume ratio168 """169 163 whole = pi * (radius + thickness) ** 2 * (length + 2 * thickness) 170 164 core = pi * radius ** 2 * length
Note: See TracChangeset
for help on using the changeset viewer.