Changeset 4962519 in sasmodels for sasmodels/models/core_shell_sphere.py
- Timestamp:
- Oct 14, 2016 4:49:58 PM (8 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:
- 14838a3
- Parents:
- a5b6997
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_sphere.py
r9a4811a r4962519 95 95 """ 96 96 return (1, 1) 97 whole = 4.0 * pi / 3.0 * pow((radius + thickness), 3)98 core = 4.0 * pi / 3.0 * radius * radius * radius97 whole = 4.0/3.0 * pi * (radius + thickness)**3 98 core = 4.0/3.0 * pi * radius**3 99 99 return whole, whole - core 100 100
Note: See TracChangeset
for help on using the changeset viewer.