Changeset 304c775 in sasmodels for sasmodels/models/hollow_cylinder.py
- Timestamp:
- Oct 25, 2018 3:35:06 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:
- 39a06c9
- Parents:
- 6d5601c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/hollow_cylinder.py
ree60aa7 r304c775 69 69 * **Last Reviewed by:** Paul Butler **Date:** September 06, 2018 70 70 """ 71 from __future__ import division 71 72 72 73 import numpy as np … … 132 133 qx = q*cos(pi/6.0) 133 134 qy = q*sin(pi/6.0) 135 radius = parameters[0][2] 136 thickness = parameters[1][2] 137 length = parameters[2][2] 134 138 # Parameters for unit tests 135 139 tests = [ 136 140 [{}, 0.00005, 1764.926], 137 # [{}, 'VR', 0.55555556], 141 [{}, 0.1, None, None, 142 (3./4*(radius+thickness)**2*length)**(1./3), # R_eff from volume 143 pi*((radius+thickness)**2-radius**2)*length, # shell volume 144 (radius+thickness)**2/((radius+thickness)**2 - radius**2), # form:shell ratio 145 ], 138 146 [{}, 0.001, 1756.76], 139 147 [{}, (qx, qy), 2.36885476192],
Note: See TracChangeset
for help on using the changeset viewer.