Changeset 303d8d6 in sasmodels for sasmodels/direct_model.py
- Timestamp:
- Mar 21, 2016 2:49:21 AM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 4a72d1a, 3a45c2c
- Parents:
- 03cac08
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/direct_model.py
r02e70ff r303d8d6 66 66 self.data_type = 'Iq' 67 67 68 partype = model.info['partype']69 70 68 if self.data_type == 'sesans': 71 69 … … 81 79 q_mono = sesans.make_all_q(data) 82 80 elif self.data_type == 'Iqxy': 81 partype = model.info['par_type'] 83 82 if not partype['orientation'] and not partype['magnetic']: 84 83 raise ValueError("not 2D without orientation or magnetic parameters")
Note: See TracChangeset
for help on using the changeset viewer.