Changeset 3797


Ignore:
Timestamp:
Jan 25, 2019 11:34:38 AM (3 years ago)
Author:
vondreele
Message:

let map peak search find negative peaks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r3795 r3797  
    91439143            try:
    91449144                peaks,mags,dzeros,dcents = G2mth.SearchMap(generalData,drawingData)
    9145                 if 'N' in mapData['Type']:      #look for negatives in neutron maps
    9146                     npeaks,nmags,ndzeros,ndcents = G2mth.SearchMap(generalData,drawingData,Neg=True)
    9147                     peaks = np.concatenate((peaks,npeaks))
    9148                     mags = np.concatenate((mags,nmags))
    9149                     dzeros = np.concatenate((dzeros,ndzeros))
    9150                     dcents = np.concatenate((dcents,ndcents))
     9145                npeaks,nmags,ndzeros,ndcents = G2mth.SearchMap(generalData,drawingData,Neg=True)
     9146                peaks = np.concatenate((peaks,npeaks))
     9147                mags = np.concatenate((mags,nmags))
     9148                dzeros = np.concatenate((dzeros,ndzeros))
     9149                dcents = np.concatenate((dcents,ndcents))
    91519150            finally:
    91529151                wx.EndBusyCursor()
Note: See TracChangeset for help on using the changeset viewer.