Changeset 1956 for trunk/GSASIIspc.py


Ignore:
Timestamp:
Aug 12, 2015 1:30:41 PM (8 years ago)
Author:
vondreele
Message:

fix (again) fill unit cell, dynamic SS drawing & GenAtom? issues - now all OK
fixes to get SS structure factors to compute & twins in SS data issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIspc.py

    r1955 r1956  
    11101110    Cell = []
    11111111    X = np.array(XYZ)
     1112    if Move:
     1113        X = MoveToUnitCell(X)[0]
    11121114    for ic,cen in enumerate(SGData['SGCen']):
    11131115        C = np.array(cen)
     
    11231125                    XT = -XT
    11241126                XT += C
    1125                 cell = np.zeros(3)
    1126                 cellj = np.zeros(3)
     1127                cell = np.zeros(3,dtype=np.int32)
     1128                cellj = np.zeros(3,dtype=np.int32)
    11271129                if Move:
    11281130                    newX,cellj = MoveToUnitCell(XT)
     
    17791781            Sdtau.append(np.sum(mst*(XYZ-SGOps[iop][1])-epsinv*SSGOps[iop][1][3]))
    17801782    SdIndx = np.argsort(np.array(Sdtau))     # just to do in sensible order
    1781     OpText =  [MT2text(s).replace(' ','') for s in Sop]         #debug?
    1782     SSOpText = [SSMT2text(ss).replace(' ','') for ss in SSop]   #debug?
    1783     if debug: print 'special pos super operators: ',SSOpText
     1783    if debug: print 'special pos super operators: ',[SSMT2text(ss).replace(' ','') for ss in SSop]
    17841784    #setup displacement arrays
    17851785    tau = np.linspace(-1,1,49,True)
Note: See TracChangeset for help on using the changeset viewer.