Changeset 1371


Ignore:
Timestamp:
May 30, 2014 9:26:01 AM (8 years ago)
Author:
vondreele
Message:

shifting pixel position to corners at version 1321 a bad idea. Put them back to pixel center.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimage.py

    r1345 r1371  
    460460            nI = iFin-iBeg
    461461            nJ = jFin-jBeg
    462             tax,tay = np.mgrid[iBeg:iFin,jBeg:jFin]
    463 #            tax,tay = np.mgrid[iBeg+0.5:iFin+.5,jBeg+.5:jFin+.5]         #bin centers not corners
     462            tax,tay = np.mgrid[iBeg+0.5:iFin+.5,jBeg+.5:jFin+.5]         #bin centers not corners
    464463            tax = np.asfarray(tax*scalex,dtype=np.float32)
    465464            tay = np.asfarray(tay*scaley,dtype=np.float32)
Note: See TracChangeset for help on using the changeset viewer.