HappyDoc Generated Documentation Class: EM_Data

. / VolumeData / tom_em / em_format.py / EM_Data 

Methods   
  read_matrix 
read_matrix (
        self,
        ijk_origin,
        ijk_size,
        ijk_step,
        progress,
        )

Returns 3D NumPy matrix with zyx index order.

  read_values 
read_values (
        self,
        file,
        etype,
        count,
        )
  check_header_values 
check_header_values (
        self,
        v,
        file_size,
        )
Exceptions   

SyntaxError, ( 'Bad EM machine code %d at byte 0, must be 0 - 6.' % mc )
SyntaxError, ( 'Bad EM data type code %d' % dc + ', must be 1, 2, 4, 5, 8, or 9' )
SyntaxError, ('File size %d too small for grid size (%d,%d,%d)' %(file_size, v [ 'xsize' ], v [ 'ysize' ], v [ 'zsize' ] ) )
SyntaxError, 'Complex EM data value type not supported'

  read_header_values 
read_header_values ( self,  file )

Format derived from C header file mrc.h.

  __init__ 
__init__ ( self,  path )
  read_values_from_string 
read_values_from_string (
        self,
        string,
        etype,
        count,
        )

This document was automatically generated Fri May 30 21:13:40 2008 by HappyDoc version 3.1