Commit ea0c03d1 by Rayne Liu

### 8 cores

parent 9cb4ec26
 ... ... @@ -39,12 +39,12 @@ tshift=10 vary_fund = True #sampler parameters npoints = 100 nwalkers = 50 npoints = 600 nwalkers = 300 ntemps=16 dim = nmax+1 ndim = 4*dim burnin = 50 #How many points do you burn before doing the corner plot. You need to watch the convergence of the chain plot a bit. burnin = 300 #How many points do you burn before doing the corner plot. You need to watch the convergence of the chain plot a bit. #This is trivial but often forgotten: this cannot be more than npoints! I usually use half the points. numbins = 42 #corner plot parameter - how many bins you want datacolor = '#105670' #'#4fa3a7' ... ... @@ -175,7 +175,7 @@ def log_prior(theta): if all([-0.06 <= alpha0 <= 0.06, -0.32 <= alpha1 <= -0.08, -0.19 <= beta0 <= 1.0, 0. <= beta1 <= 1.5, 0 <= xvar0 <= 1.1, 0 <= xvar1 <= 1.2, -np.pi <= yvar0 <= np.pi, -np.pi <= yvar1 <= np.pi]): return 0.0 elif tshift == 10: if all([-0.08 <= alpha0 <= 0.12, -0.6 <= alpha1 <= 0.4, -0.3 <= beta0 <= 1.5, -1. <= beta1 <= 3.2, 0 <= xvar0 <= 1.1, 0 <= xvar1 <= 1.2, -np.pi <= yvar0 <= np.pi, -np.pi <= yvar1 <= np.pi]): if all([-0.04 <= alpha0 <= 0.04, -0.1 <= alpha1 <= 0.15, -0.4 <= beta0 <= 0.4, -1. <= beta1 <= 2, 0 <= xvar0 <= 1.1, 0 <= xvar1 <= 1.2, -np.pi <= yvar0 <= np.pi, -np.pi <= yvar1 <= np.pi]): return 0.0 """ if nmax == 0: ... ... @@ -298,4 +298,4 @@ for yi in range(naxes): ax.axvline(median[xi], color=mediancolor) ax.axhline(median[yi], color=mediancolor) ax.plot(median[xi], median[yi], color = mediancolor, marker = 's') figcorn.savefig(rootpath + '/plotsmc/0001_10M_interpolated_cornerplot.png', format='png', bbox_inches='tight', dpi=300) \ No newline at end of file figcorn.savefig(rootpath + '/plotsmc/0001_10M_interpolated_cornerplot.png', format='png', bbox_inches='tight', dpi=300)
File mode changed from 100644 to 100755
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!