HappyDoc Generated Documentation Class: Dock_Data

. / VolumeData / dock / dock_format.py / Dock_Data 

Methods   
  read_bump_map_header 
read_bump_map_header ( self,  file )
  needs_byte_swap 
needs_byte_swap (
        self,
        bmp_file,
        expected_array_size,
        )

Infer file byte order by comparing size of array and file size.

Exceptions   

SyntaxError, 'Expected array size based on DOCK file size is %d which does not agree with header array size %d or byte swapped header array size %d' %( expected_array_size, array_size, swapped_size )

  read_matrix 
read_matrix ( self,  cname )
  read_values 
read_values (
        self,
        file,
        count,
        type,
        )
  __init__ 
__init__ ( self,  path )
Exceptions   

ValueError, 'DOCK file %s suffix must be .bmp or .cnt or .nrg' % name


This document was automatically generated Thu Feb 02 15:18:16 2006 by HappyDoc version 3.0.a1