Changeset 2bccb5a in sasmodels
- Timestamp:
- Oct 22, 2017 5:00:22 PM (7 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 31eea1f
- Parents:
- e3571cb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/details.py
r9e771a3 r2bccb5a 273 273 # TODO: modify the dispersity vector to avoid the theta=-90,90,270,... 274 274 theta_weight = abs(cos(radians(theta))) 275 weights = tuple(theta_weight* v if k == index else v276 for k, vin enumerate(weights))275 weights = tuple(theta_weight*w if k == index else w 276 for k, w in enumerate(weights)) 277 277 return weights 278 278
Note: See TracChangeset
for help on using the changeset viewer.