Changeset d138d43 in sasmodels for sasmodels/resolution.py
- Timestamp:
- Nov 30, 2015 2:24:28 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:
- eb69cce
- Parents:
- 1ec7efa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/resolution.py
r7f7f99f rd138d43 5 5 """ 6 6 from __future__ import division 7 8 __all__ = ["Resolution", "Perfect1D", "Pinhole1D", "Slit1D", 9 "apply_resolution_matrix", "pinhole_resolution", "slit_resolution", 10 "pinhole_extend_q", "slit_extend_q", "bin_edges", 11 "interpolate", "linear_extrapolation", "geometric_extrapolation", 12 ] 13 7 14 from scipy.special import erf 8 15 from numpy import sqrt, log, log10 … … 189 196 190 197 191 Algorithm 192 --------- 198 **Algorithm** 193 199 194 200 We are using the mid-point integration rule to assign weights to each … … 429 435 430 436 Substituting: 437 438 .. math:: 431 439 432 440 n_\text{extend} = (n-1) (\log q_\text{max} - \log q_n)
Note: See TracChangeset
for help on using the changeset viewer.