lib/redred.py
def fetchMetadata(self):
        '''Create a Dictionary of all metadata from all single scans'''
        metadata = self.scans[0].fetchMetadata()
        for key in metadata:
            metadata[key] = [metadata[key]]
        skip = True
        # construct a dictionary containing all metadata
        for scan in self.scans:
            if not skip:
                md = scan.fetchMetadata()
                for key in metadata:
                    metadata[key].append(md[key])
            else:
                skip = False
        return(metadata)
Create a Dictionary of all metadata from all single scans
Create a Dictionary of all metadata from all single scans
Create a Dictionary of all metadata from all single scans
def fetchMetadata(self):
        metadata = self.scans[0].fetchMetadata()
        for key in metadata:
            metadata[key] = [metadata[key]]
        skip = True
        for scan in self.scans:
            if not skip:
                md = scan.fetchMetadata()
                for key in metadata:
                    metadata[key].append(md[key])
            else:
                skip = False
        return(metadata)
def fetchMetadata ( self ) : metadata = self . scans [ 0 ] . fetchMetadata ( ) for key in metadata : metadata [ key ] = [ metadata [ key ] ] skip = True for scan in self . scans : if not skip : md = scan . fetchMetadata ( ) for key in metadata : metadata [ key ] . append ( md [ key ] ) else : skip = False return ( metadata )
Create a Dictionary of all metadata from all single scans
Create a Dictionary of all metadata from all single scans
'''Create a Dictionary of all metadata from all single scans''' # construct a dictionary containing all metadata
self