Package pylal :: Module bayespputils :: Class KDSkeleton
[hide private]
[frames] | no frames]

Class KDSkeleton

source code

object --+
         |
        KDSkeleton

object to store the structure of a kd tree

Instance Methods [hide private]
 
__init__(self, bounding_box, left_child=None, right_child=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
addSample(self) source code
 
bounds(self) source code
 
search(self, coordinates)
takes a set of coordinates and searches down through the tree untill it gets to a box with less than 'boxing' objects in it and returns the box bounds, number of objects in the box, and the weighting.
source code
 
setImportance(self, sampleNumber, volume) source code
 
setSplit(self, dimension, value) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, bounding_box, left_child=None, right_child=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)