Changeset 0c3a226 in sasmodels
- Timestamp:
- Feb 18, 2016 12:58:10 PM (9 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 652a78a
- Parents:
- c691551
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/cylinder.py
reb69cce r0c3a226 144 144 145 145 def ER(radius, length): 146 """ 147 Return equivalent radius (ER) 148 """ 146 149 ddd = 0.75 * radius * (2 * radius * length + (length + radius) * (length + pi * radius)) 147 150 return 0.5 * (ddd) ** (1. / 3.)
Note: See TracChangeset
for help on using the changeset viewer.