tools.py File Reference

Namespaces

 tools
 

Functions

def tools.initParamsTable (keys, maxs, mins, num=100, threads=4, tableName='smcTable.txt')
 
def tools.writeToTable (tableName, table, dim, num, thread, keys)
 
def tools.getKeysAndData (fileName)
 
def tools.resampledParamsTable (keys, smcSamples, proposal, num=100, thread=4, maxNumComponents=10, priorWeight=1e3, tableName='smcTableNew.txt', verbose=False)
 
def tools.getGMMFromPosterior (smcSamples, posterior, priorWeight)
 
def tools.get_pool (mpi=False, threads=1)