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

Detailed Description

A single parameter sample object, suitable for inclusion in a kD-tree.

Definition at line 2719 of file bayespputils.py.

Inherits object.

Public Member Functions

def __init__ (self, sample_array, headers, coord_names)
 Given the sample array, headers for the values, and the names of the desired coordinates, construct a parameter sample object. More...
 
def __getitem__ (self, key)
 Return the element with the corresponding name. More...
 
def coord (self)
 Return the coordinates for the parameter sample. More...
 

Constructor & Destructor Documentation

◆ __init__()

def lalinference.bayespputils.PosteriorSample.__init__ (   self,
  sample_array,
  headers,
  coord_names 
)

Given the sample array, headers for the values, and the names of the desired coordinates, construct a parameter sample object.

Definition at line 2726 of file bayespputils.py.

Member Function Documentation

◆ __getitem__()

def lalinference.bayespputils.PosteriorSample.__getitem__ (   self,
  key 
)

Return the element with the corresponding name.

Definition at line 2739 of file bayespputils.py.

◆ coord()

def lalinference.bayespputils.PosteriorSample.coord (   self)

Return the coordinates for the parameter sample.

Definition at line 2750 of file bayespputils.py.