Changeset 3176


Ignore:
Timestamp:
Dec 6, 2017 11:14:29 AM (4 years ago)
Author:
vondreele
Message:

Add A centered monoclinics to super symmetry ptssdict
Add import of Dexela detector tif images

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIspc.py

    r3172 r3176  
    30303030    'P2':['(a0g)','(a1/2g)','(0b0)','(0b0)s','(1/2b0)','(0b1/2)',],
    30313031    'C2':['(a0g)','(0b0)','(0b0)s','(0b1/2)',],
     3032    'A2':['(a0g)','(0b0)','(0b0)s','(1/2b0)',],
    30323033    'Pm':['(a0g)','(a0g)s','(a1/2g)','(0b0)','(1/2b0)','(0b1/2)','(1/2b1/2)',],
    30333034    'Cm':['(a0g)','(a0g)s','(0b0)','(0b1/2)',],
     3035    'Am':['(a0g)','(a0g)s','(0b0)','(1/2b0)',],
    30343036    'P2/m':['(a0g)','(a0g)0s','(a1/2g)','(0b0)','(0b0)s0','(1/2b0)','(0b1/2)','(1/2b1/2)',],
    30353037    'C2/m':['(a0g)','(a0g)0s','(0b0)','(0b0)s0','(0b1/2)',],
     3038    'A2/m':['(a0g)','(a0g)s0','(0b0)','(0b0)0s','(1/2b0)',],
    30363039#16-24
    30373040    'P222':['(00g)','(00g)00s','(01/2g)','(1/20g)','(1/21/2g)',
  • trunk/imports/G2img_1TIF.py

    r3160 r3176  
    214214        else:
    215215            if IFD[258][2][0] == 16:
    216                 tifType = 'GE'
    217                 pixy = [200.,200.]
    218                 File.seek(8)
    219                 print ('Read GE-detector tiff file: '+filename)
     216                if sizexy == [3888,3072]:
     217                    tifType = 'Dexela'
     218                    pixy = [74.8,74.8]
     219                    print ('Read Dexela detector tiff file: '+filename)
     220                else:
     221                    tifType = 'GE'
     222                    pixy = [200.,200.]
     223                    print ('Read GE-detector tiff file: '+filename)
     224                File.seek(8)
    220225                image = np.array(np.frombuffer(File.read(2*Npix),dtype=np.uint16),dtype=np.int32)
    221226#                image = np.fromfile(File,dtype=np.int16,count=2*Npix)[:Npix]
Note: See TracChangeset for help on using the changeset viewer.