Changeset 60eab2a in sasmodels for sasmodels/direct_model.py
- Timestamp:
- Mar 24, 2016 6:12:07 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:
- 380e8c9
- Parents:
- e69b36f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/direct_model.py
r48fbd50 r60eab2a 78 78 q_mono = sesans.make_all_q(data) 79 79 elif self.data_type == 'Iqxy': 80 partype = model.info['par_type'] 81 if not partype['orientation'] and not partype['magnetic']: 82 raise ValueError("not 2D without orientation or magnetic parameters") 80 #if not model.info['parameters'].has_2d: 81 # raise ValueError("not 2D without orientation or magnetic parameters") 83 82 q = np.sqrt(data.qx_data**2 + data.qy_data**2) 84 83 qmin = getattr(data, 'qmin', 1e-16)
Note: See TracChangeset
for help on using the changeset viewer.