Changeset 3473


Ignore:
Timestamp:
Jul 15, 2018 9:26:01 PM (3 years ago)
Author:
toby
Message:

add .cor32 as a GE image format (same format as .sum)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r3462 r3473  
    75687568    '''
    75697569    if G2frame.PickIdText == G2frame.GetTreeItemsList(item): # don't redo the current data tree item
     7570        if GSASIIpath.GetConfigValue('debug'): print('Skipping SelectDataTreeItem as G2frame.PickIdText unchanged')
    75707571        return
    75717572
  • trunk/imports/G2img_GE.py

    r3472 r3473  
    3636    def __init__(self):
    3737        super(self.__class__,self).__init__( # fancy way to self-reference
    38             extensionlist=('.sum','.cor','.avg','.ge','.ge1','.ge2','.ge3','.ge4','.ge5'),
     38            extensionlist=('.sum','.cor','.cor32','.avg','.ge','.ge1','.ge2','.ge3','.ge4','.ge5'),
    3939            strictExtension=True,
    4040            formatName = 'GE image',
     
    132132    time0 = time.time()
    133133    File = open(filename,'rb')
    134     if filename.split('.')[-1] in ['sum',]:
    135         head = ['GE detector sum  data from APS 1-ID',]
     134    if filename.split('.')[-1] in ['sum','cor32']:
     135        head = ['GE detector sum/corrected data from APS 1-ID',]
    136136        sizexy = [2048,2048]
    137137        Npix = sizexy[0]*sizexy[1]
Note: See TracChangeset for help on using the changeset viewer.