Changeset 0b56f38 in sasmodels for sasmodels/models/triaxial_ellipsoid.py
- Timestamp:
- Apr 6, 2017 6:01:42 AM (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:
- e2d6e3b
- Parents:
- b6e0636
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/triaxial_ellipsoid.py
r4b0a294 r0b56f38 112 112 """ 113 113 114 from numpy import inf 114 from numpy import inf, sin, cos, pi 115 115 116 116 name = "triaxial_ellipsoid" … … 166 166 phi_pd=15, phi_pd_n=1, 167 167 psi_pd=15, psi_pd_n=1) 168 q = 0.1 169 # april 6 2017, rkh add unit tests, NOT compared with any other calc method, assume correct! 170 # add 2d test after pull #890 171 qx = q*cos(pi/6.0) 172 qy = q*sin(pi/6.0) 173 tests = [[{}, 0.05, 24.8839548033], 174 # [{'theta':80., 'phi':10.}, (qx, qy), 9999. ], 175 ] 176 del qx, qy # not necessary to delete, but cleaner
Note: See TracChangeset
for help on using the changeset viewer.