LALInference 4.1.10.1-bf6a62b
lalinference.bayespputils.KDSkeleton Class Reference

Detailed Description

object to store the structure of a kd tree

Definition at line 2676 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 2678 of file bayespputils.py.

Member Function Documentation

◆ addSample()

def lalinference.bayespputils.KDSkeleton.addSample (   self)

Definition at line 2689 of file bayespputils.py.

◆ bounds()

def lalinference.bayespputils.KDSkeleton.bounds (   self)

Definition at line 2692 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 2700 of file bayespputils.py.

◆ setImportance()

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

Definition at line 2708 of file bayespputils.py.

◆ setSplit()

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

Definition at line 2712 of file bayespputils.py.