Changeset 1987 for trunk/GSASIImath.py


Ignore:
Timestamp:
Oct 6, 2015 9:27:27 AM (7 years ago)
Author:
vondreele
Message:

set up wave derivatives

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIImath.py

    r1984 r1987  
    10421042
    10431043    Ax = np.array(XSSdata[:3]).T   #atoms x waves x sin pos mods
     1044    dGdAx = np.zeros_like(Ax)
    10441045    Bx = np.array(XSSdata[3:]).T   #...cos pos mods
     1046    dGdBx = np.zeros_like(Bx)
    10451047    Af = np.array(FSSdata[0]).T    #sin frac mods x waves x atoms
     1048    dGdAf = np.zeros_like(Af)
    10461049    Bf = np.array(FSSdata[1]).T    #cos frac mods...
     1050    dGdBf = np.zeros_like(Bf)
    10471051    Au = Mast*np.array(G2lat.U6toUij(USSdata[:6])).T   #atoms x waves x sin Uij mods
     1052    dGdAu = np.zeros_like(Au)
    10481053    Bu = Mast*np.array(G2lat.U6toUij(USSdata[6:])).T   #...cos Uij mods
     1054    dGdBu = np.zeros_like(Bu)
    10491055    GpA = np.array(expModInt(SSUniq,Af,Bf,Ax,Bx,Au,Bu))
    1050     return GpA             # 2 x SGops x atoms
     1056    return GpA,dGdAf,dGdBf,dGdAx,dGdBx,dGdAu,dGdBu
    10511057   
    10521058def posFourier(tau,psin,pcos,smul):
Note: See TracChangeset for help on using the changeset viewer.