Changeset 2756


Ignore:
Timestamp:
Mar 20, 2017 3:43:50 PM (5 years ago)
Author:
vondreele
Message:

fix importer for Perkin-Elmer 4Kx4K detector

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2img_1TIF.py

    r2716 r2756  
    281281                print 'Read APS scanCCD tiff file: ',filename
    282282                image = np.array(ar.array('H',File.read(2*Npix)),dtype=np.int32)
     283            elif IFD[258][2][0] == 32:
     284                tifType = 'PE4k'
     285                pixy = [100,100]
     286                File.seek(8)
     287                print 'Read PE 4Kx4K tiff file: ',filename
     288                image = np.array(ar.array('f',File.read(4*Npix)),dtype=np.int32)               
    283289        elif IFD[273][2][0] == 4096:
    284290            tifType = 'Rayonix'
Note: See TracChangeset for help on using the changeset viewer.