Changeset d277229 in sasmodels for sasmodels/models/core_shell_parallelepiped.py
- Timestamp:
- Sep 7, 2018 5:29:38 AM (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:
- 3c60146
- Parents:
- 2a12351b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_parallelepiped.py
r71b751d rd277229 227 227 source = ["lib/gauss76.c", "core_shell_parallelepiped.c"] 228 228 have_Fq = True 229 230 231 def ER(length_a, length_b, length_c, thick_rim_a, thick_rim_b, thick_rim_c): 232 """ 233 Return equivalent radius (ER) 234 """ 235 from .parallelepiped import ER as ER_p 236 237 a = length_a + 2*thick_rim_a 238 b = length_b + 2*thick_rim_b 239 c = length_c + 2*thick_rim_c 240 return ER_p(a, b, c) 229 effective_radius_type = ["equivalent sphere","half outer length_a", "half outer length_b", "half outer length_c", 230 "equivalent circular cross-section","half outer ab diagonal","half outer diagonal"] 231 232 #def ER(length_a, length_b, length_c, thick_rim_a, thick_rim_b, thick_rim_c): 233 # """ 234 # Return equivalent radius (ER) 235 # """ 236 # from .parallelepiped import ER as ER_p 237 # 238 # a = length_a + 2*thick_rim_a 239 # b = length_b + 2*thick_rim_b 240 # c = length_c + 2*thick_rim_c 241 # return ER_p(a, b, c) 241 242 242 243 # VR defaults to 1.0
Note: See TracChangeset
for help on using the changeset viewer.