Changeset 29aa28f in sasmodels
- Timestamp:
- Mar 13, 2015 4:40:58 PM (10 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:
- 33c8d73
- Parents:
- db8756e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/resolution.py
rdb8756e r29aa28f 192 192 qy_sq = qy**2 193 193 weights += (sqrt(E_sq[1:]-qy_sq) - sqrt(qy_sq - E_sq[:-1]))*in_x 194 w = np.sum(weights, axis=1); print "w",w.shape, w194 #w = np.sum(weights, axis=1); print "w",w.shape, w 195 195 weights /= np.sum(weights, axis=1)[:,None] 196 196 return weights
Note: See TracChangeset
for help on using the changeset viewer.