Efficient database for numarray objects.
Imported modules
|
|
import cPickle
import os
import pickle
from py4cs.numtools import *
import re
import shelve
import sys
|
Functions
|
|
float_dist
main
test_dist
|
|
float_dist
|
float_dist ( id1, id2 )
Compute distance between two identities for NumPyDB.
Assumption: id1 and id2 are real numbers (but always sent
as strings).
This function is typically used when time values are
used as identifiers.
|
|
main
|
main (
n,
length,
method,
name,
)
|
|
test_dist
|
test_dist ( id1, id2 )
Return distance between identifiers id1 and id2.
The identifiers are of the form time=some number .
|
Classes
|
|
|