Changeset 3211 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Jan 1, 2018 2:12:54 PM (5 years ago)
Author:
vondreele
Message:

fix integer divide in wave display
some fixes to mcif import

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r3210 r3211  
    41134113        ' at %.4f %.4f %.4f'%(atxyz[0],atxyz[1],atxyz[2])
    41144114    ix = -np.array(np.rint(rhoSize[:3]*atxyz)+1,dtype='i')
    4115     ix += (rhoSize[:3]/2)
     4115    ix += (rhoSize[:3]//2)
    41164116    ix = ix%rhoSize[:3]
    41174117    rho = np.roll(np.roll(np.roll(Map['rho'],ix[0],axis=0),ix[1],axis=1),ix[2],axis=2)
    4118     ix = rhoSize[:3]/2
     4118    ix = rhoSize[:3]//2
    41194119    ib = 4
    41204120    hdx = [2,2,2]       #this needs to be something for an offset correction on atom positions
Note: See TracChangeset for help on using the changeset viewer.