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... | |
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.
def lalinference.bayespputils.PosteriorSample.__getitem__ | ( | self, | |
key | |||
) |
Return the element with the corresponding name.
Definition at line 2739 of file bayespputils.py.
def lalinference.bayespputils.PosteriorSample.coord | ( | self | ) |
Return the coordinates for the parameter sample.
Definition at line 2750 of file bayespputils.py.