Changeset 1321 for trunk/GSASIIimage.py


Ignore:
Timestamp:
May 4, 2014 3:36:54 PM (9 years ago)
Author:
vondreele
Message:

remove 1/2 pixel offset - made no sense
fix weights for zero image profile intensities = 1e-6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimage.py

    r1305 r1321  
    460460            nI = iFin-iBeg
    461461            nJ = jFin-jBeg
    462             tax,tay = np.mgrid[iBeg+0.5:iFin+.5,jBeg+.5:jFin+.5]         #bin centers not corners
     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
    463464            tax = np.asfarray(tax*scalex,dtype=np.float32)
    464465            tay = np.asfarray(tay*scaley,dtype=np.float32)
Note: See TracChangeset for help on using the changeset viewer.