Changeset 2618 for trunk/GSASIIimage.py


Ignore:
Timestamp:
Jan 9, 2017 3:53:35 PM (5 years ago)
Author:
vondreele
Message:

implement spot mask delete from image command (also fix spot move & resize with mouse)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimage.py

    r2616 r2618  
    11491149    peaks = jndx*pixelSize/1000.
    11501150    tth = GetTth(peaks.T[0],peaks.T[1],Controls)
     1151    histtth,bins = np.histogram(tth,2500)
     1152   
     1153    #should be able to filter out spotty Bragg rings here
    11511154    Peakarray = np.vstack((tth,peaks.T)).T
    11521155    Peakarray = np.array(G2mth.sortArray(Peakarray,0))  #now in 2theta
     
    11541157        txt = 'More than 100 spots found: %d. Are rings spotty?'%(len(jndx))
    11551158        return txt
    1156     #should be able to filter out spotty Bragg rings here
    11571159    Points = np.ones((peaks.shape[0],3))
    11581160    Points[:,:2] = Peakarray[:,1:]
Note: See TracChangeset for help on using the changeset viewer.