Changeset 0b56f38 in sasmodels for sasmodels/models/elliptical_cylinder.py
- Timestamp:
- Apr 6, 2017 4: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/elliptical_cylinder.py
rfcb33e4 r0b56f38 108 108 """ 109 109 110 from numpy import pi, inf, sqrt 110 from numpy import pi, inf, sqrt, sin, cos 111 111 112 112 name = "elliptical_cylinder" … … 149 149 + (length + radius) * (length + pi * radius)) 150 150 return 0.5 * (ddd) ** (1. / 3.) 151 q = 0.1 152 # april 6 2017, rkh added a 2d unit test, NOT READY YET pull #890 branch assume correct! 153 qx = q*cos(pi/6.0) 154 qy = q*sin(pi/6.0) 151 155 152 156 tests = [ … … 158 162 'sld_solvent':1.0, 'background':0.0}, 159 163 0.001, 675.504402], 164 # [{'theta':80., 'phi':10.}, (qx, qy), 7.88866563001 ], 160 165 ]
Note: See TracChangeset
for help on using the changeset viewer.