Changeset 1992 for trunk/GSASIImath.py


Ignore:
Timestamp:
Oct 7, 2015 3:35:11 PM (6 years ago)
Author:
vondreele
Message:

fix SS position derivative error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIImath.py

    r1990 r1992  
    10621062    dGdBx = np.sum((Fmod*HbH)[:,:,nxs,:,nxs]*(twopi*dHdXB*np.cos(twopi*HdotXB)-np.sin(twopi*HdotXB))*glWt[nxs,nxs,nxs,:,nxs],axis=-2)
    10631063#    GSASIIpath.IPyBreak()                 
    1064     return np.array([cosHA,sinHA]),dGdAf,dGdBf,dGdAx,dGdBx,dGdAu,dGdBu      #ops X atoms
     1064    return np.array([cosHA,sinHA]),np.concatenate((dGdAf,dGdBf),-1), \
     1065        np.concatenate((dGdAx,dGdBx),-1),np.concatenate((dGdAu,dGdBu),-1)      #ops X atoms
    10651066   
    10661067def posFourier(tau,psin,pcos,smul):
Note: See TracChangeset for help on using the changeset viewer.