Changeset 2440


Ignore:
Timestamp:
Aug 19, 2016 3:52:38 PM (5 years ago)
Author:
vondreele
Message:

a modified version of G2img_CBF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2img_CBF.py

    r2438 r2440  
    140140    nxy = sizexy[0]*sizexy[1]
    141141    nimg = len(compImage)
    142     image = np.zeros(nxy)
     142    image = np.zeros(nxy,dtype=np.float32)
    143143    image = cbf.unpack_cbf(nimg,compImage,nxy,image)
     144#    image = np.hstack(analyse(compImage)).cumsum()
    144145    image = np.reshape(image,(sizexy[1],sizexy[0]))
     146#    print 'import time:',time.time()-time0
    145147    data = {'pixelSize':pixSize,'wavelength':wave,'distance':dist,'center':cent,'size':sizexy}
    146148    Npix = sizexy[0]*sizexy[1]
Note: See TracChangeset for help on using the changeset viewer.