Changeset 1171 for trunk/GSASIIimage.py
- Timestamp:
- Dec 17, 2013 2:46:39 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIimage.py
r1170 r1171 779 779 taz = ma.compressed(ma.array(taz.flatten(),mask=tam)) 780 780 tad = ma.compressed(ma.array(tad.flatten(),mask=tam)) 781 return tax,tay,taz *tad781 return tax,tay,taz,tad 782 782 783 783 def ImageIntegrate(image,data,masks,blkSize=128,dlg=None): … … 816 816 dlg.Update(Nup) 817 817 Block = image[iBeg:iFin,jBeg:jFin] 818 tax,tay,taz = Fill2ThetaAzimuthMap(masks,TA,tam,Block) #and apply masks818 tax,tay,taz,tad = Fill2ThetaAzimuthMap(masks,TA,tam,Block) #and apply masks 819 819 Nup += 1 820 820 if dlg: … … 823 823 tax = np.where(tax < LRazm[0],tax+360.,tax) 824 824 if any([tax.shape[0],tay.shape[0],taz.shape[0]]): 825 NST,H0 = h2d.histogram2d(len(tax),tax,tay,taz ,numAzms,numChans,LRazm,LUtth,Dazm,Dtth,NST,H0)825 NST,H0 = h2d.histogram2d(len(tax),tax,tay,taz*tad,numAzms,numChans,LRazm,LUtth,Dazm,Dtth,NST,H0) 826 826 Nup += 1 827 827 if dlg:
Note: See TracChangeset
for help on using the changeset viewer.