Ignore:
Timestamp:
Sep 5, 2019 4:08:51 PM (3 years ago)
Author:
vondreele
Message:

comment out unused MagMod2 (no tau variation)
SGGray distinction in incomm. Mag. Str Fctr. - still not there!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrMath.py

    r4137 r4138  
    15101510       
    15111511        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
    1512 #        TmagA,TmagB = G2mth.MagMod2(mXYZ,modQ,MSSdata,SGData,SSGData)   #Nops,Natm,Mxyz-TmagA+TmagB matches drawing moments @ tau=0.
    15131512        MmodA,MmodB = G2mth.MagMod(glTau,mXYZ,modQ,MSSdata,SGData,SSGData)  #Ntau,Nops,Natm,Mxyz sum matches drawing
    15141513       
    15151514        if not SGData['SGGray']:    #for fixed Mx,My,Mz
    1516 #            Mmod += Gdata.T[:,nxs,:]
    15171515            GSdata = np.inner(Gdata.T,np.swapaxes(SGMT,1,2))  #apply sym. ops.--> Natm,Nops,Nxyz
    15181516            if SGData['SGInv'] and not SGData['SGFixed']:   #inversion if any
     
    16131611           
    16141612            if not SGData['SGGray']:
     1613                fams *= 0.5
     1614                fbms *= 0.5
    16151615                fams += fam0[:,nxs,:,:,:]
    16161616                fbms += fbm0[:,nxs,:,:,:]
Note: See TracChangeset for help on using the changeset viewer.