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

Module cbfimage

source code


Authors: Jérôme Kieffer, ESRF 
         email:jerome.kieffer@esrf.fr

Cif Binary Files images are 2D images written by the Pilatus detector and others.
They use a modified (simplified) byte-offset algorithm.  

CIF is a library for manipulating Crystallographic information files and tries 
to conform to the specification of the IUCR  


Author: J\xc3\xa9r\xc3\xb4me Kieffer

Contact: jerome.kieffer@esrf.eu

Copyright: European Synchrotron Radiation Facility, Grenoble, France

License: GPLv3+

Classes [hide private]
  cbfimage
Read the Cif Binary File data format
  CIF
This is the CIF class, it represents the CIF dictionary; and as a a python dictionary thus inherits from the dict built in class.
Variables [hide private]
  DATA_TYPES = {'signed 16-bit integer': <type 'numpy.int16'>, '...
  MINIMUM_KEYS = ['X-Binary-Size-Fastest-Dimension', 'ByteOrder'...
  DEFAULT_VALUES = {'Data type': 'signed 32-bit integer', 'X-Bin...
  __package__ = 'fabio'
Variables Details [hide private]

DATA_TYPES

Value:
{'signed 16-bit integer': <type 'numpy.int16'>,
 'signed 32-bit integer': <type 'numpy.int32'>,
 'signed 8-bit integer': <type 'numpy.int8'>}

MINIMUM_KEYS

Value:
['X-Binary-Size-Fastest-Dimension',
 'ByteOrder',
 'Data type',
 'X dimension',
 'Y dimension',
 'Number of readouts']

DEFAULT_VALUES

Value:
{'Data type': 'signed 32-bit integer',
 'X-Binary-Element-Byte-Order': 'LITTLE_ENDIAN',
 'X-Binary-Size-Fastest-Dimension': 2463}