Changeset 9404dd3 in sasmodels for sasmodels/sasview_model.py
- Timestamp:
- Dec 4, 2015 12:41:47 PM (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:
- eaca9eb
- Parents:
- 7bb290c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/sasview_model.py
rd138d43 r9404dd3 187 187 for d in self._model.info['partype']['pd-2d'] 188 188 for p in ('npts', 'nsigmas', 'width')] 189 #print ret189 #print(ret) 190 190 return ret 191 191 … … 303 303 values, weights = self._dispersion_mesh() 304 304 fv = ER(*values) 305 #print values[0].shape, weights.shape, fv.shape305 #print(values[0].shape, weights.shape, fv.shape) 306 306 return np.sum(weights * fv) / np.sum(weights) 307 307
Note: See TracChangeset
for help on using the changeset viewer.