Changeset 92708d8 in sasmodels
- Timestamp:
- Aug 7, 2017 4:13:37 PM (7 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- d9ec8f9
- Parents:
- 4553dae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/ellipsoid.py
rbb39b4a r92708d8 180 180 delta = 0.75 * b1 * b2 181 181 182 #ddd = np.zeros_like(radius_polar)182 ddd = np.zeros_like(radius_polar) 183 183 ddd[valid] = 2.0 * (delta + 1.0) * radius_polar * radius_equatorial ** 2 184 184 return 0.5 * ddd ** (1.0 / 3.0)
Note: See TracChangeset
for help on using the changeset viewer.