Changeset 750 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Sep 5, 2012 10:43:15 AM (10 years ago)
Author:
vondreele
Message:

put inverse checker back in SearchMap?
add atom rename facility
update of Map peaks when map/peaks are shifted by U/D/L/R key commands

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r749 r750  
    24322432            SetMapRoll(dirDict[key])
    24332433            SetPeakRoll(dirDict[key])
     2434            SetMapPeaksText(mapPeaks)
    24342435        Draw()
    24352436           
     
    25312532                names = [child.GetName() for child in panel]
    25322533                panel[names.index('viewPoint')].SetValue('%.3f, %.3f, %.3f'%(VP[0],VP[1],VP[2]))
     2534               
     2535    def SetMapPeaksText(mapPeaks):
     2536        page = getSelection()
     2537        if page:
     2538            if G2frame.dataDisplay.GetPageText(page) == 'Map peaks':
     2539                G2frame.MapPeaksTable.SetData(mapPeaks)
     2540                panel = G2frame.dataDisplay.GetPage(page).GetChildren()
     2541                names = [child.GetName() for child in panel]
     2542                panel[names.index('grid window')].Refresh()
    25332543           
    25342544    def ClearSelectedAtoms():
     
    26102620            peak[1:4] += dxy
    26112621            peak[1:4] %= 1.
     2622            peak[4] = np.sqrt(np.sum(np.inner(Amat,peak[1:4])**2))
    26122623               
    26132624    def SetTranslation(newxy):
Note: See TracChangeset for help on using the changeset viewer.