Changeset d522352 in sasmodels
 Timestamp:
 Mar 28, 2019 6:29:49 AM (8 weeks ago)
 Branches:
 master
 Children:
 0c7b8d8
 Parents:
 298d2d4
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

sasmodels/sesans.py
r298d2d4 rd522352 73 73 q = np.hstack([[0], q]) 74 74 75 H0 = np.pi * (q[1:]**2  q[:1]**2)75 H0 = (q[1:]**2  q[:1]**2) / (2 * np.pi) / 2 76 76 77 77 # repq = np.tile(q, (SElength.size, 1)).T … … 80 80 H *= q.reshape((1, 1)) 81 81 H = H[1:]  H[:1] 82 H *= 2 * np.pi /SElength82 H /= 2 * np.pi * SElength 83 83 84 84 lam = np.asarray(lam, dtype=np.float32)
Note: See TracChangeset
for help on using the changeset viewer.