Changes in sasmodels/models/core_shell_bicelle.py [8afefae:0b56f38] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_bicelle.py
r8afefae r0b56f38 88 88 """ 89 89 90 from numpy import inf, sin, cos 90 from numpy import inf, sin, cos, pi 91 91 92 92 name = "core_shell_bicelle" … … 141 141 # pylint: enable=bad-whitespace, line-too-long 142 142 143 source = ["lib/ Si.c", "lib/polevl.c", "lib/sas_J1.c", "lib/gauss76.c",143 source = ["lib/sas_Si.c", "lib/polevl.c", "lib/sas_J1.c", "lib/gauss76.c", 144 144 "core_shell_bicelle.c"] 145 145 … … 155 155 theta=90, 156 156 phi=0) 157 q = 0.1 158 # april 6 2017, rkh add unit tests, NOT compared with any other calc method, assume correct! 159 qx = q*cos(pi/6.0) 160 qy = q*sin(pi/6.0) 161 tests = [[{}, 0.05, 7.4883545957], 162 [{'theta':80., 'phi':10.}, (qx, qy), 2.81048892474 ], 163 ] 164 del qx, qy # not necessary to delete, but cleaner 157 165 158 #qx, qy = 0.4 * cos(pi/2.0), 0.5 * sin(0)
Note: See TracChangeset
for help on using the changeset viewer.