Changeset 4181 for trunk/GSASIIimage.py
- Timestamp:
- Oct 16, 2019 3:51:36 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIimage.py
r4180 r4181 1089 1089 tabs = ma.compressed(ma.array(tabs.flatten(),mask=tam)) #ones - later used for absorption corr. 1090 1090 pol = ma.compressed(ma.array(pol.flatten(),mask=tam)) #polarization 1091 return tax,tay,taz ,tad,tabs,pol1091 return tax,tay,taz/pol,tad,tabs 1092 1092 1093 1093 def MakeUseTA(data,blkSize=128): … … 1189 1189 t0 = time.time() 1190 1190 Block = image[iBeg:iFin,jBeg:jFin] 1191 tax,tay,taz,tad,tabs ,pol= Fill2ThetaAzimuthMap(Masks,TA,tam,Block) #and apply masks1191 tax,tay,taz,tad,tabs = Fill2ThetaAzimuthMap(Masks,TA,tam,Block) #and apply masks 1192 1192 tax = np.where(tax > LRazm[1],tax-360.,tax) #put azm inside limits if possible 1193 1193 tax = np.where(tax < LRazm[0],tax+360.,tax) … … 1205 1205 1206 1206 t0 = time.time() 1207 taz = np.array((taz*tad/tabs),dtype='float32') /pol1207 taz = np.array((taz*tad/tabs),dtype='float32') 1208 1208 if any([tax.shape[0],tay.shape[0],taz.shape[0]]): 1209 1209 NST,H0 = h2d.histogram2d(len(tax),tax,tay,taz,
Note: See TracChangeset
for help on using the changeset viewer.