Changeset 2b3a1bd in sasmodels
- Timestamp:
- Oct 7, 2016 11:24:06 AM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- c34a31f
- Parents:
- 6ae7957
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/resolution.py
r69ef533 r2b3a1bd 307 307 weights[i, :] = (in_x + abs_x) * np.diff(q_edges) / (2*h) 308 308 else: 309 for k in range(-n_height, h_height+1):309 for k in range(-n_height, n_height+1): 310 310 weights[i, :] += _q_perp_weights(q_edges, qi+k*h/n_height, w) 311 311 weights[i, :] /= 2*n_height + 1
Note: See TracChangeset
for help on using the changeset viewer.