Changeset ee60aa7 in sasmodels for sasmodels/models/cylinder.py
- Timestamp:
- Sep 10, 2018 4: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/cylinder.py
rd277229 ree60aa7 139 139 source = ["lib/polevl.c", "lib/sas_J1.c", "lib/gauss76.c", "cylinder.c"] 140 140 have_Fq = True 141 effective_radius_type = ["equivalent sphere","radius","half length","half min dimension","half max dimension","half diagonal"] 142 143 #def ER(radius, length): 144 # """ 145 # Return equivalent radius (ER) 146 # """ 147 # ddd = 0.75 * radius * (2 * radius * length + (length + radius) * (length + pi * radius)) 148 # return 0.5 * (ddd) ** (1. / 3.) 141 effective_radius_type = [ 142 "equivalent sphere", "radius", 143 "half length", "half min dimension", "half max dimension", "half diagonal", 144 ] 149 145 150 146 def random():
Note: See TracChangeset
for help on using the changeset viewer.