Changeset b7172bb in sasmodels
- Timestamp:
- Mar 30, 2016 4:39:35 PM (9 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:
- 6f0e04f
- Parents:
- 98f60fc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/core.py
r98f60fc rb7172bb 213 213 """ 214 214 value, weight = zip(*pars) 215 value = [v.flatten() for v in np.meshgrid(*value)]216 weight = np.vstack([v.flatten() for v in np.meshgrid(*weight)])215 value = [v.flatten() for v in meshgrid(*value)] 216 weight = np.vstack([v.flatten() for v in meshgrid(*weight)]) 217 217 weight = np.prod(weight, axis=0) 218 218 return value, weight
Note: See TracChangeset
for help on using the changeset viewer.