Package mmLib :: Module MTZ :: Class MTZFile
[show private | hide private]
[frames | no frames]

Class MTZFile


Class interface for reading and writing MTZ files which are used to store HKL reflections in the CCP4 program suite.
Method Summary
  __init__(self)
  __str__(self)
  get_offset(self, x)
Seeking in a MTZ file is a painful experience.
  load_file(self, fil)
  read_float(self)
  read_int(self)
  save_file(self, fil)
  write_int(self, i)

Method Details

get_offset(self, x)

Seeking in a MTZ file is a painful experience. The documentation for the MTZ files gives a completely incorrect description of them, so it's best to ignore it. Seeks are actually in multiples of the size of integers on the machine the MTZ file was written in.

Generated by Epydoc 2.0 on Wed Nov 24 17:34:57 2004 http://epydoc.sf.net