Changeset 663 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Jun 30, 2012 12:01:02 PM (10 years ago)
Author:
vondreele
Message:

fix too close peak rejection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r661 r663  
    38373837        finally:
    38383838            pgbar.Destroy()
    3839 
    3840 
    3841 #        wx.BeginBusyCursor()
    3842 #        try:
    3843 #            peaks,mags = G2mth.SearchMap(data,keepDup=True)
    3844 #        finally:
    3845 #            wx.EndBusyCursor()
    38463839        sortIdx = np.argsort(mags.flatten())
    38473840        if len(peaks):
    3848             data['Map Peaks'] = np.concatenate((mags,peaks),axis=1)
    3849            
    3850 #            print ' Map search peaks found:'
    3851 #            print '  No.    Mag.      x        y        z'
    3852 #            for j,i in enumerate(sortIdx[::-1]):
    3853 #                print ' %3d %8.3f %8.5f %8.5f %8.5f'%(j,mags[i],peaks[i][0],peaks[i][1],peaks[i][2])
     3841            data['Map Peaks'] = np.concatenate((mags,peaks),axis=1)           
    38543842            print ' Map search finished, time = %.2fs'%(time.time()-time0)
    38553843        Page = G2frame.dataDisplay.FindPage('Map peaks')
Note: See TracChangeset for help on using the changeset viewer.