Changeset 4051 for trunk/GSASIIstrMath.py
- Timestamp:
- Jul 2, 2019 3:22:24 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIstrMath.py
r4050 r4051 2571 2571 if 0 < xfac <= 1.: 2572 2572 xn = np.array([i*flv2*xfac**i for i in [1,2,3,4,5,6]]) 2573 dlde = np.sum(xn*coef) 2573 dlde = np.sum(xn*coef)/xfac 2574 2574 elif xfac > 1.: 2575 2575 xfac2 = 1./np.sqrt(xfac) 2576 dlde = flv2*pi2*xfac2*(-1./xfac+0.375/xfac**2)2576 dlde = 0.5*flv2*pi2*xfac2*(-1./xfac+0.375/xfac**2) 2577 2577 2578 2578 return dbde*sth2+dlde*(1.-sth2)
Note: See TracChangeset
for help on using the changeset viewer.