Changeset 9f6823b in sasmodels for sasmodels/models/core_shell_cylinder.py
- Timestamp:
- Aug 2, 2017 2:45:44 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:
- 232bb12
- Parents:
- 883ecf4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_cylinder.py
r8f04da4 r9f6823b 148 148 # Avoid core,shell radii < 1 149 149 radius = np.random.beta(0.5, 0.5)*(outer_radius-2) + 1 150 thickness = outer_radius - core150 thickness = outer_radius - radius 151 151 length = np.random.uniform(1, 4.7) 152 152 pars = dict(
Note: See TracChangeset
for help on using the changeset viewer.