Changeset 3e6aaad in sasmodels for sasmodels/bumps_model.py
- Timestamp:
- Aug 31, 2015 11:55:50 PM (9 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:
- cd8dde1
- Parents:
- 346bc88
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/bumps_model.py
r346bc88 r3e6aaad 399 399 qmin = getattr(data, 'qmin', 1e-16) 400 400 qmax = getattr(data, 'qmax', np.inf) 401 accuracy = getattr(data, 'accuracy', 'Low') 401 402 self.index = (~data.mask) & (~np.isnan(data.data)) \ 402 403 & (q >= qmin) & (q <= qmax) … … 404 405 self.dIq = data.err_data[self.index] 405 406 self.resolution = Pinhole2D(data=data, index=self.index, 406 nsigma=3.0, accuracy= 'Low')407 nsigma=3.0, accuracy=accuracy) 407 408 #self._theory = np.zeros_like(self.Iq) 408 409 if not partype['orientation'] and not partype['magnetic']:
Note: See TracChangeset
for help on using the changeset viewer.