Changeset 4563 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Sep 7, 2020 9:31:55 AM (3 years ago)
Author:
vondreele
Message:

fix off-by-one error in Map Peaks Invert Map Peaks operation; NB: inverts map & repeats map search

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r4561 r4563  
    1194111941                mapData['rho'] = np.flip(mapData['rho'],1)
    1194211942                mapData['rho'] = np.flip(mapData['rho'],2)               
     11943            mapData['rho'] = np.roll(np.roll(np.roll(mapData['rho'],1,axis=0),1,axis=1),1,axis=2)
    1194311944            OnSearchMaps(event)
    1194411945        FillMapPeaksGrid()
Note: See TracChangeset for help on using the changeset viewer.