Commit c7e038a6 authored by John Douglas Veitch's avatar John Douglas Veitch

Merge branch 'median_to_mean_cbcBayesMCMC2pos' into 'master'

Change median_logL to mean_logL

See merge request !667
parents 6f142fdc a255f43c
Pipeline #49644 passed with stages
in 78 minutes and 46 seconds
......@@ -137,11 +137,11 @@ def downsample_and_evidence(data_hdf5, deltaLogP=None, fixedBurnin=None, nDownsa
logls = np.zeros_like(betas)
betas[0] = 1./np.median(posterior_samples['temperature'])
logls[0] = np.median(posterior_samples['logl'])
logls[0] = np.mean(posterior_samples['logl'])
for i in range(len(highTchains)):
betas[i+1] = 1./np.median(highTchains[i]['temperature'])
logls[i+1] = np.median(highTchains[i]['logl'])
logls[i+1] = np.mean(highTchains[i]['logl'])
inds = np.argsort(betas)[::-1]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment