Table of Contents

Class: NumPyDB py4cs/NumPyDB.py
Methods   
__init__
dump
load
locate
  __init__ 
__init__ (
        self,
        database_name,
        mode='store',
        )

Exceptions   
IOError, "Could not find the files %s and %s" %( self.dn, self.pn )
  dump 
dump (
        self,
        a,
        identifier,
        )

Dump NumPy array a with identifier.

Exceptions   
NameError, "dump is not implemented; must be impl. in subclass"
  load 
load (
        self,
        identifier,
        bestapprox=None,
        )

Load NumPy array with identifier or find best approx.

Exceptions   
NameError, "load is not implemented; must be impl. in subclass"
  locate 
locate (
        self,
        identifier,
        bestapprox=None,
        )

Find position in files where data corresponding to identifier are stored. bestapprox is a user-defined function for computing the distance between two identifiers.


Table of Contents

This document was automatically generated on Sun Mar 14 15:31:01 2004 by HappyDoc version 2.1