Changeset 3362 for trunk/GSASIIimage.py


Ignore:
Timestamp:
Apr 27, 2018 4:23:53 PM (3 years ago)
Author:
vondreele
Message:

fix azimuth offset problems with linescan
add sqrt & log (scanline) options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimage.py

    r3358 r3362  
    475475    numChans = data['outChannels']
    476476    LUtth = np.array(data['IOtth'],dtype=np.float)
    477     azm = data['linescan'][1]
     477    azm = data['linescan'][1]-data['azmthOff']
    478478    Tx = np.array([tth for tth in np.linspace(LUtth[0],LUtth[1],numChans+1)])
    479479    Ty = np.zeros_like(Tx)
     
    489489    Ty = image[xpix,ypix]
    490490    Tx = ma.array(Tx,mask=Xpix.mask+Ypix.mask).compressed()
    491     return Tx,Ty
     491    return [Tx,Ty]
    492492
    493493def EdgeFinder(image,data):
Note: See TracChangeset for help on using the changeset viewer.