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

Class PosteriorSample

source code

object --+
         |
        PosteriorSample

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

Instance Methods [hide private]
 
__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.
source code
 
__getitem__(self, key)
Return the element with the corresponding name.
source code
 
coord(self)
Return the coordinates for the parameter sample.
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, sample_array, headers, coord_names)
(Constructor)

source code 

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

Overrides: object.__init__