Changeset f39759c in sasmodels
- Timestamp:
- Apr 14, 2017 8:24:56 AM (8 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 9901384
- Parents:
- eaa4458
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/details.py
r77bfb5f rf39759c 265 265 index = parameters.theta_offset 266 266 theta = values[index] 267 theta_weight = np.minimum( cos(radians(theta)), 1e-6)267 theta_weight = np.minimum(abs(cos(radians(theta))), 1e-6) 268 268 # copy the weights list so we can update it 269 269 weights = list(weights)
Note: See TracChangeset
for help on using the changeset viewer.