HappyDoc Generated Documentation Class: Dock_Data

. / VolumeData / dock / dock_format.py / Dock_Data 

Methods   
  read_matrix 
read_matrix (
        self,
        cname,
        ijk_origin,
        ijk_size,
        ijk_step,
        progress,
        )
  read_values 
read_values (
        self,
        file,
        count,
        type,
        )
  read_bump_map_header 
read_bump_map_header ( self,  file )
  color 
color ( self,  component_name )
  value_type 
value_type ( self,  component_name )
  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 )

  __init__ 
__init__ ( self,  path )
Exceptions   

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


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