Changeset 2d81cfe in sasmodels for sasmodels/resolution2d.py
- Timestamp:
- Nov 29, 2017 1:13:23 PM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 237b800f
- Parents:
- a839b22
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/resolution2d.py
r7e94989 r2d81cfe 224 224 # Build weight matrix for resolution integration 225 225 if np.any(qx_width > 0): 226 self.weights = resolution.pinhole_resolution( qx_calc, q,227 226 self.weights = resolution.pinhole_resolution( 227 qx_calc, q, np.maximum(qx_width, resolution.MINIMUM_RESOLUTION)) 228 228 elif len(qx_calc) == len(q) and np.all(qx_calc == q): 229 229 self.weights = None … … 236 236 Iq = resolution.apply_resolution_matrix(self.weights, Iq) 237 237 return Iq 238
Note: See TracChangeset
for help on using the changeset viewer.