A parser for the output of Bayesian parameter estimation codes.
TODO: Will be abstract class when LDG moves over to Python >2.6,
inherited by each method .
|
__init__(self,
inputtype)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
_infmcmc_to_pos(self,
files,
outdir=None,
deltaLogP=None,
fixedBurnins=None,
nDownsample=None,
oldMassConvention=False,
**kwargs)
Parser for lalinference_mcmcmpi output. |
source code
|
|
|
|
|
|
|
_find_max_logP(self,
files)
Given a list of files, reads them, finding the maximum log(post) |
source code
|
|
|
_find_ndownsample(self,
files,
logPthreshold,
fixedBurnins,
nDownsample)
Given a list of files, threshold value, and a desired number of
outputs posterior samples, return the skip number to achieve the
desired number of posterior samples. |
source code
|
|
|
|
|
|
|
_clear_infmcmc_header(self,
infile)
Reads lalinference_mcmcmpi file given, returning the run info and
common output header information. |
source code
|
|
|
_mcmc_burnin_to_pos(self,
files,
spin=False,
deltaLogP=None)
Parser for SPINspiral output . |
source code
|
|
|
_ns_to_pos(self,
files,
Nlive=None,
Npost=None,
posfilename='posterior_samples.dat')
Parser for nested sampling output. |
source code
|
|
|
_followupmcmc_to_pos(self,
files)
Parser for followupMCMC output. |
source code
|
|
|
_multinest_to_pos(self,
files)
Parser for MultiNest output. |
source code
|
|
|
_xml_to_pos(self,
infile)
Parser for VOTable XML Using |
source code
|
|
|
_VOTTABLE2pos(self,
table)
Parser for a VOT TABLE element with FIELDs and TABLEDATA elements |
source code
|
|
|
_hdf5s_to_pos(self,
infiles,
fixedBurnins=None,
deltaLogP=None,
nDownsample=None,
tablename=None,
**kwargs) |
source code
|
|
|
_hdf5_to_table(self,
infile,
deltaLogP=None,
fixedBurnin=None,
nDownsample=None,
multiple_chains=False,
tablename=None,
**kwargs)
Parse a HDF5 file and return an array of posterior samples ad list of
parameter names. |
source code
|
|
|
_hdf5_to_pos(self,
infile,
fixedBurnins=None,
deltaLogP=None,
nDownsample=None,
tablename=None,
**kwargs) |
source code
|
|
|
_common_to_pos(self,
infile,
info=[None,None])
Parse a file in the 'common format' and return an array of posterior
samples and list of parameter names. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|