Changeset d277229 in sasmodels for sasmodels/models/pringle.py
- Timestamp:
- Sep 7, 2018 3: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/pringle.py
ref07e95 rd277229 74 74 source = ["lib/polevl.c", "lib/sas_J0.c", "lib/sas_J1.c", \ 75 75 "lib/sas_JN.c", "lib/gauss76.c", "pringle.c"] 76 effective_radius_type = ["equivalent sphere","radius"] 76 77 77 def ER(radius, thickness, alpha, beta):78 """79 Return equivalent radius (ER)80 """81 ddd = 0.75 * radius * (2 * radius * thickness + (thickness + radius) \82 * (thickness + pi * radius))83 return 0.5 * (ddd) ** (1. / 3.)78 #def ER(radius, thickness, alpha, beta): 79 # """ 80 # Return equivalent radius (ER) 81 # """ 82 # ddd = 0.75 * radius * (2 * radius * thickness + (thickness + radius) \ 83 # * (thickness + pi * radius)) 84 # return 0.5 * (ddd) ** (1. / 3.) 84 85 85 86 def random():
Note: See TracChangeset
for help on using the changeset viewer.