ja-vazquez / SimpleMC

Updated version of a simple MCMC code for cosmological parameter estimation where only expansion history matters.
GNU General Public License v2.0
23 stars 15 forks source link

Plot params in ini file for maxlike #15

Closed igomezv closed 3 years ago

igomezv commented 3 years ago

https://github.com/ja-vazquez/SimpleMC/blob/19cf43288434aa6199fd9db699fdf67d01975616/baseConfig.ini#L183

In the [maxlike] section of the baseConfig.ini, there are plot_par1 and plot_par2, they should be plot_param1 and plotparam2. This causes the error: Not a base parameter, derived-errors still on construction_. The following is the correct way:

[maxlike]
;compute errror from Hessian matrix
;False/True
compute_errors = True

;If withErrors is True
;plot Fisher matrix
show_contours = True

;If showplot is True, then
;2D plot for the parameters:
plot_param1 = h
plot_param2 = Om
igomezv commented 3 years ago

Fixed in 2272bedc4e8e50457035d88fb5c6f615741646f8 .