Changeset bb46723 in sasmodels
- Timestamp:
- Sep 27, 2016 4:52:19 PM (8 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:
- f1a8811
- Parents:
- 9acade6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/weights.py
r6cefbc9 rbb46723 103 103 default = dict(npts=35, width=0, nsigmas=1.70325) 104 104 def _weights(self, center, sigma, lb, ub): 105 x = self._linspace(center, sigma *sqrt(3.0), lb, ub)106 px = np.ones_like(x)107 return x, px105 x = self._linspace(center, sigma, lb, ub) 106 x = x[np.fabs(x-center) <= np.fabs(sigma)*sqrt(3.0)] 107 return x, np.ones_like(x) 108 108 109 109
Note: See TracChangeset
for help on using the changeset viewer.