Changeset 4763 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Jan 13, 2021 4:34:34 PM (11 months ago)
Author:
vondreele
Message:

cleanup tif import for PIL use - remove commented lines
move getAtomPtrs from G2phsGUI to G2math & correct all ses; add a few new ones as well
Add new Atoms/Edit? Atoms/Collect? atoms - it moves atoms to equivalents closest to x, y, z axes, origin or cell center

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r4759 r4763  
    84528452        elif G2frame.phaseDisplay.GetPageText(getSelection()) == 'Draw Atoms':
    84538453            atomList = drawAtoms
    8454             cx,ct,cs,cia = G2phG.getAtomPtrs(data,True)
     8454            cx,ct,cs,cia = G2mth.getAtomPtrs(data,True)
    84558455            cs -= 1  #cs points at style for drawings; want sytsym         
    84568456        else:
    84578457            atomList = data['Atoms']
    8458             cx,ct,cs,ciax = G2phG.getAtomPtrs(data)
     8458            cx,ct,cs,ciax = G2mth.getAtomPtrs(data)
    84598459        for i,atom in enumerate(atomList):
    84608460            x,y,z = atom[cx:cx+3]
     
    92159215        ballScale = drawingData['ballScale']
    92169216        xyzA = np.array((x,y,z))
    9217         cx,ct,cs,ci = G2phG.getAtomPtrs(data)     
     9217        cx,ct,cs,ci = G2mth.getAtomPtrs(data)     
    92189218        cellArray = G2lat.CellBlock(1)
    92199219        radDict = dict(zip(*G2phG.getAtomRadii(data)))
Note: See TracChangeset for help on using the changeset viewer.