Changes in sasmodels/models/core_shell_cylinder.py [eb69cce:f0aa7f8] in sasmodels
- 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.