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 & Jérôme Kieffer:
  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]
  logger = logging.getLogger("edfimage")
  BLOCKSIZE = 512
  DATA_TYPES = {'Double': <type 'numpy.float64'>, 'DoubleIEEE128...
  NUMPY_EDF_DTYPE = {'float128': 'QuadrupleValue', 'float32': 'F...
  MINIMUM_KEYS = ['HEADERID', 'IMAGE', 'BYTEORDER', 'DATATYPE', ...
  DEFAULT_VALUES = {}
  __package__ = 'fabio'
Variables Details [hide private]

DATA_TYPES

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

NUMPY_EDF_DTYPE

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

MINIMUM_KEYS

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