Changeset 268 for trunk/GSASIIimage.py


Ignore:
Timestamp:
Apr 21, 2011 12:59:52 PM (12 years ago)
Author:
vondreele
Message:

fix integration limits issues
changes to full image integration control

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimage.py

    r267 r268  
    301301    dsp = wave/(2.*npsind(tth/2.))
    302302    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)
    304304    return tth,azm,dsp
    305305   
     
    590590                Nup += 1
    591591                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)
    592594                NST,H0 = h2d.histogram2d(len(tax),tax,tay,taz,numAzms,numChans,LRazm,LUtth,Dazm,Dtth,NST,H0)
    593595                del tax,tay,taz
Note: See TracChangeset for help on using the changeset viewer.