Changeset 63d4dd1 in sasmodels for sasmodels/models/pringle.py
- Timestamp:
- Nov 9, 2018 3:25:10 PM (5 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 7126c04
- Parents:
- 599993b9 (diff), cf3d0ce (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/pringle.py
ref07e95 r99658f6 42 42 Karen Edler, Universtiy of Bath, Private Communication. 2012. 43 43 Derivation by Stefan Alexandru Rautu. 44 L. Onsager, Ann. New York Acad. Sci. 51, 627-659 (1949). 44 45 45 46 * **Author:** Andrew Jackson **Date:** 2008 … … 72 73 73 74 74 source = ["lib/polevl.c", "lib/sas_J0.c", "lib/sas_J1.c", \75 source = ["lib/polevl.c", "lib/sas_J0.c", "lib/sas_J1.c", 75 76 "lib/sas_JN.c", "lib/gauss76.c", "pringle.c"] 76 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.) 77 effective_radius_type = ["equivalent cylinder excluded volume", "equivalent volume sphere", "radius"] 84 78 85 79 def random():
Note: See TracChangeset
for help on using the changeset viewer.