Changeset ee60aa7 in sasmodels for sasmodels/models/core_shell_cylinder.py
- Timestamp:
- Sep 10, 2018 2:16:46 PM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- d299327
- Parents:
- 3f818b2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_cylinder.py
rc44b611 ree60aa7 132 132 source = ["lib/polevl.c", "lib/sas_J1.c", "lib/gauss76.c", "core_shell_cylinder.c"] 133 133 have_Fq = True 134 effective_radius_type = ["equivalent sphere","outer radius","half outer length","half min outer dimension", 135 "half max outer dimension","half outer diagonal"] 136 137 #def ER(radius, thickness, length): 138 # """ 139 # Returns the effective radius used in the S*P calculation 140 # """ 141 # radius = radius + thickness 142 # length = length + 2 * thickness 143 # ddd = 0.75 * radius * (2 * radius * length + (length + radius) * (length + pi * radius)) 144 # return 0.5 * (ddd) ** (1. / 3.) 134 effective_radius_type = [ 135 "equivalent sphere", "outer radius", "half outer length", 136 "half min outer dimension", "half max outer dimension", 137 "half outer diagonal", 138 ] 145 139 146 140 def random():
Note: See TracChangeset
for help on using the changeset viewer.