Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALInference 4.1.9.1-3a66518
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
lalinference.bayespputils.KDSkeleton Class Reference

Detailed Description

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)
 

Constructor & Destructor Documentation

◆ __init__()

def lalinference.bayespputils.KDSkeleton.__init__ (   self,
  bounding_box,
  left_child = None,
  right_child = None 
)

Definition at line 2676 of file bayespputils.py.

Member Function Documentation

◆ addSample()

def lalinference.bayespputils.KDSkeleton.addSample (   self)

Definition at line 2687 of file bayespputils.py.

◆ bounds()

def lalinference.bayespputils.KDSkeleton.bounds (   self)

Definition at line 2690 of file bayespputils.py.

◆ search()

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.

◆ setImportance()

def lalinference.bayespputils.KDSkeleton.setImportance (   self,
  sampleNumber,
  volume 
)

Definition at line 2706 of file bayespputils.py.

◆ setSplit()

def lalinference.bayespputils.KDSkeleton.setSplit (   self,
  dimension,
  value 
)

Definition at line 2710 of file bayespputils.py.