Package fabio :: Module edfimage
[hide private]
[frames] | no frames]

Module edfimage

source code



License: GPLv2+

Authors: Henning O. Sorensen & Erik Knudsen
         Center for Fundamental Research: Metal Structures in Four Dimensions
         Risoe National Laboratory
         Frederiksborgvej 399
         DK-4000 Roskilde
         email:erik.knudsen@risoe.dk

        + Jon Wright, ESRF
        
2011-02-11: Mostly rewritten by Jérôme Kieffer (Jerome.Kieffer@esrf.eu) 
            European Synchrotron Radiation Facility
            Grenoble (France)

Classes [hide private]
  Frame
A class representing a single frame in an EDF file
  edfimage
Read and try to write the ESRF edf data format
Variables [hide private]
  BLOCKSIZE = 512
  DATA_TYPES = {'Double': <type 'numpy.float64'>, 'DoubleIEEE64'...
  NUMPY_EDF_DTYPE = {'float32': 'FloatValue', 'float64': 'Double...
  MINIMUM_KEYS = ['HEADERID', 'IMAGE', 'BYTEORDER', 'DATATYPE', ...
  DEFAULT_VALUES = {}
  __package__ = 'fabio'
Variables Details [hide private]

DATA_TYPES

Value:
{'Double': <type 'numpy.float64'>,
 'DoubleIEEE64': <type 'numpy.float64'>,
 'DoubleValue': <type 'numpy.float64'>,
 'FLOAT': <type 'numpy.float32'>,
 'FLOATVALUE': <type 'numpy.float32'>,
 'Float': <type 'numpy.float32'>,
 'Float32': <type 'numpy.float32'>,
 'FloatIEEE32': <type 'numpy.float32'>,
...

NUMPY_EDF_DTYPE

Value:
{'float32': 'FloatValue',
 'float64': 'DoubleValue',
 'int16': 'SignedShort',
 'int32': 'SignedInteger',
 'int64': 'Signed64',
 'int8': 'SignedByte',
 'uint16': 'UnsignedShort',
 'uint32': 'UnsignedInteger',
...

MINIMUM_KEYS

Value:
['HEADERID',
 'IMAGE',
 'BYTEORDER',
 'DATATYPE',
 'DIM_1',
 'DIM_2',
 'SIZE']