Changeset b7e8b94 in sasmodels for sasmodels/models/cylinder.py
- Timestamp:
- Jan 11, 2017 7:20:03 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:
- 3a45c2c, 8afefae, 7c2935c
- Parents:
- fcb33e4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/cylinder.py
rfcb33e4 rb7e8b94 152 152 tests = [[{}, 0.2, 0.042761386790780453], 153 153 [{}, [0.2], [0.042761386790780453]], 154 # expect new [{'theta':80.1534480601659, 'phi':10.1510817110481}, (qx, qy), 0.03514647218513852], 155 # [{'theta':80.1534480601659, 'phi':10.1510817110481}, [(qx, qy)], [0.03514647218513852]], 156 # old, but calcs .0344268 [{'theta':10.0, 'phi':10.0}, (qx, qy), 0.03514647218513852], 157 # [{'theta':10.0, 'phi':10.0}, [(qx, qy)], [0.03514647218513852]], 154 # new coords 155 [{'theta':80.1534480601659, 'phi':10.1510817110481}, (qx, qy), 0.03514647218513852], 156 [{'theta':80.1534480601659, 'phi':10.1510817110481}, [(qx, qy)], [0.03514647218513852]], 157 # old coords [{'theta':10.0, 'phi':10.0}, (qx, qy), 0.03514647218513852], 158 # [{'theta':10.0, 'phi':10.0}, [(qx, qy)], [0.03514647218513852]], 158 159 ] 159 160 del qx, qy # not necessary to delete, but cleaner
Note: See TracChangeset
for help on using the changeset viewer.