Changes in sasmodels/models/ellipsoid.py [0b56f38:4b0a294] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/ellipsoid.py
r0b56f38 r4b0a294 120 120 """ 121 121 122 from numpy import inf , sin, cos, pi122 from numpy import inf 123 123 124 124 name = "ellipsoid" … … 190 190 theta_pd=15, theta_pd_n=45, 191 191 phi_pd=15, phi_pd_n=1) 192 q = 0.1193 # april 6 2017, rkh add unit tests, NOT compared with any other calc method, assume correct!194 qx = q*cos(pi/6.0)195 qy = q*sin(pi/6.0)196 tests = [[{}, 0.05, 54.8525847025],197 [{'theta':80., 'phi':10.}, (qx, qy), 1.74134670026 ],198 ]199 del qx, qy # not necessary to delete, but cleaner
Note: See TracChangeset
for help on using the changeset viewer.