Changeset 3403


Ignore:
Timestamp:
May 26, 2018 8:14:21 AM (3 years ago)
Author:
vondreele
Message:

fix a deleted phase problem in powder plots
fix uaniso transformation problem

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIlattice.py

    r3402 r3403  
    271271   
    272272def TransformU6(U6,Trans):
    273     Uij = np.inner(Trans,np.inner(U6toUij(U6),Trans))
     273    Uij = np.inner(Trans,np.inner(U6toUij(U6),Trans).T)
    274274    return UijtoU6(Uij)
    275275   
     
    332332        atom[cx:cx+3] = TransformXYZ(atom[cx:cx+3]-Uvec,invTrans.T,Vvec)%1.
    333333        if atom[cia] == 'A':
    334             atom[cia+2:cia+8] = TransformU6(atom[cia+2:cia+8],invTrans.T)
     334            atom[cia+2:cia+8] = TransformU6(atom[cia+2:cia+8],Trans)
    335335        atom[cs:cs+2] = G2spc.SytSym(atom[cx:cx+3],SGData)[:2]
    336336        atom[cia+8] = ran.randint(0,sys.maxsize)
  • trunk/GSASIIplot.py

    r3402 r3403  
    28482848                if 'list' in str(type(Phases[phase])):
    28492849                    continue
     2850                if phase not in Page.phaseColors:
     2851                    continue
    28502852                peaks = Phases[phase].get('RefList',[])
    28512853                if not len(peaks):
Note: See TracChangeset for help on using the changeset viewer.