ImageD11.marccd | index /sware/exp/fable/standalone/redhate4-a64/lib/python2.5/site-packages/ImageD11/marccd.py

`## Automatically adapted for numpy.oldnumeric Sep 06, 2007 by alter_code1.py`

Modules
`` |  |
struct |  |  |

Classes
`` |  | marheaderreader
class marheaderreader
`` | `Class to sit and read a series of images (makes format etc only once)`
| Methods defined here: __init__(self) `Initialise internal stuff` get_header(self, filename) `Reads a header from file filename`

Functions
`` |  | interpret_header(header, fmt, names) `given a format and header interpret it` make_format(c_def_string) `Reads the header definition in c and makes the format string to pass to struct.unpack` openmarccd(filename) `Read a mar ccd image into the ImageD11 world` read_mar_header(filename) `Get the header from a binary file` readesrfstring(s) `Interpret the so called "esrf format" header lines which are in comment sections`

Data
`` |  | MAXIMAGES = 9 cdefinition = '\ntypedef struct frame_header_type {\n /* ...*128)+1024+512)]; \n\n } frame_header;\n' header_reader = <ImageD11.marccd.marheaderreader instance at 0x2a9980c5a8> mar_c_sizes = {'INT32': 4, 'UINT16': 2, 'UINT32': 4, 'char': 1} mar_c_to_python_struct = {'INT32': 'i', 'UINT16': 'H', 'UINT32': 'I', 'char': 'c'}