Changeset 4112 for trunk/imports/G2img_MAR.py
- Timestamp:
- Aug 26, 2019 7:27:07 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/imports/G2img_MAR.py
r3146 r4112 96 96 raw = np.frombuffer(File.read(),dtype=np.uint8) 97 97 image = np.flipud(pf.pack_f3(len(raw),raw,sizex,sizey,image).T) #transpose to get it right way around & flip 98 print ('image read time: %.3f'%(time.time()-time0)) 98 if GSASIIpath.GetConfigValue('debug'): 99 print ('image read time: %.3f'%(time.time()-time0)) 99 100 File.close() 100 101 if imageOnly:
Note: See TracChangeset
for help on using the changeset viewer.