Ignore:
Timestamp:
Mar 28, 2019 2:01:07 PM (3 years ago)
Author:
vondreele
Message:

incommensurate mgnetic str. fctr. calcs.latest attempt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrMath.py

    r3861 r3864  
    15191519        mXYZ = np.array([[xyz[0] for xyz in list(G2spc.GenAtom(xyz,SGData,All=True,Move=True))] for xyz in (Xdata+dXdata).T])%1. #Natn,Nop,xyz
    15201520        MmodA,MmodB = G2mth.MagMod(mXYZ,modQ,MSSdata,SGData,SSGData)   #Re cos/Im sin,Nops,Natm,Nwaves,Mxyz
    1521         MmodA *= (SGData['MagMom']/SGData['SpnFlp'])[:,nxs,nxs,nxs]   #apply det(ops)
    1522         MmodB *= (SGData['MagMom']/SGData['SpnFlp'])[:,nxs,nxs,nxs]
    15231521        MmodA = np.inner(MmodA,uAmat.T)   #make cartesian
    15241522        MmodB = np.inner(MmodB,uAmat.T)
Note: See TracChangeset for help on using the changeset viewer.