object to store the structure of a kd tree
Definition at line 2674 of file bayespputils.py.
Inherits object.
Public Member Functions | |
def | __init__ (self, bounding_box, left_child=None, right_child=None) |
def | addSample (self) |
def | bounds (self) |
def | 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. More... | |
def | setImportance (self, sampleNumber, volume) |
def | setSplit (self, dimension, value) |
def lalinference.bayespputils.KDSkeleton.__init__ | ( | self, | |
bounding_box, | |||
left_child = None , |
|||
right_child = None |
|||
) |
Definition at line 2676 of file bayespputils.py.
def lalinference.bayespputils.KDSkeleton.addSample | ( | self | ) |
Definition at line 2687 of file bayespputils.py.
def lalinference.bayespputils.KDSkeleton.bounds | ( | self | ) |
Definition at line 2690 of file bayespputils.py.
def lalinference.bayespputils.KDSkeleton.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.
Definition at line 2698 of file bayespputils.py.
def lalinference.bayespputils.KDSkeleton.setImportance | ( | self, | |
sampleNumber, | |||
volume | |||
) |
Definition at line 2706 of file bayespputils.py.
def lalinference.bayespputils.KDSkeleton.setSplit | ( | self, | |
dimension, | |||
value | |||
) |
Definition at line 2710 of file bayespputils.py.