Changeset 1987 for trunk/GSASIImath.py
- Timestamp:
- Oct 6, 2015 9:27:27 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIImath.py
r1984 r1987 1042 1042 1043 1043 Ax = np.array(XSSdata[:3]).T #atoms x waves x sin pos mods 1044 dGdAx = np.zeros_like(Ax) 1044 1045 Bx = np.array(XSSdata[3:]).T #...cos pos mods 1046 dGdBx = np.zeros_like(Bx) 1045 1047 Af = np.array(FSSdata[0]).T #sin frac mods x waves x atoms 1048 dGdAf = np.zeros_like(Af) 1046 1049 Bf = np.array(FSSdata[1]).T #cos frac mods... 1050 dGdBf = np.zeros_like(Bf) 1047 1051 Au = Mast*np.array(G2lat.U6toUij(USSdata[:6])).T #atoms x waves x sin Uij mods 1052 dGdAu = np.zeros_like(Au) 1048 1053 Bu = Mast*np.array(G2lat.U6toUij(USSdata[6:])).T #...cos Uij mods 1054 dGdBu = np.zeros_like(Bu) 1049 1055 GpA = np.array(expModInt(SSUniq,Af,Bf,Ax,Bx,Au,Bu)) 1050 return GpA # 2 x SGops x atoms1056 return GpA,dGdAf,dGdBf,dGdAx,dGdBx,dGdAu,dGdBu 1051 1057 1052 1058 def posFourier(tau,psin,pcos,smul):
Note: See TracChangeset
for help on using the changeset viewer.