Changeset 268 for trunk/GSASIIimage.py
- Timestamp:
- Apr 21, 2011 12:59:52 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIimage.py
r267 r268 301 301 dsp = wave/(2.*npsind(tth/2.)) 302 302 azm = (npatan2d(dx,-dy)+azmthoff+720.)%360. 303 azm = np.where(azm <LRazim[0],azm+360.,azm)303 azm = np.where(azm>180,azm-360.,azm) 304 304 return tth,azm,dsp 305 305 … … 590 590 Nup += 1 591 591 dlg.Update(Nup) 592 tax = np.where(tax > LRazm[1],tax-360.,tax) #put azm inside limits if possible 593 tax = np.where(tax < LRazm[0],tax+360.,tax) 592 594 NST,H0 = h2d.histogram2d(len(tax),tax,tay,taz,numAzms,numChans,LRazm,LUtth,Dazm,Dtth,NST,H0) 593 595 del tax,tay,taz
Note: See TracChangeset
for help on using the changeset viewer.