You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 65d1ca8
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+3-7Lines changed: 3 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,12 +104,10 @@ For cosmological likelihoods you will need to have [Cobaya](https://cobaya.readt
104
104
```python
105
105
fromBOBEimportBOBE
106
106
107
-
# Initialize BOBE with Cobaya YAML file - CobayaLikelihood created internally
108
-
# Initialize BOBE with Cobaya YAML file - CobayaLikelihood created internally
107
+
# Initialize BOBE with Cobaya YAML file, prepare it the same way you would for running MCMC/Nested Sampling through Cobaya
109
108
sampler = BOBE(
110
109
loglikelihood='path/to/cobaya_input.yaml',
111
-
likelihood_name='CobayaLikelihood',
112
-
n_sobol_init=4,
110
+
n_sobol_init=4,
113
111
n_cobaya_init=4, # We can also specify reference dists in the Cobaya yaml file to generate additional initial points
114
112
likelihood_name='quickstart_cobaya_example', # name for output files
115
113
save_dir='./results',
@@ -123,7 +121,7 @@ from BOBE import BOBE
123
121
batch_size=5,
124
122
fit_n_points=10,
125
123
ns_n_points=10,
126
-
logz_threshold=0.5,
124
+
logz_threshold=0.5,# for higher dimensional examples, can relax the convergence threshold slightly
127
125
)
128
126
129
127
# rest of the run remains the same as above
@@ -160,8 +158,6 @@ If you use BOBE in your research, please cite:
160
158
161
159
## Troubleshooting
162
160
163
-
### Installation issues
164
-
165
161
In case you run into installation issues related to incompatible versions of packages, you can also set up an environment with the exact package versions BOBE was developed and tested with
Copy file name to clipboardExpand all lines: docs/source/examples/cosmology.rst
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -280,11 +280,7 @@ For standard ΛCDM with Planck lite:
280
280
Expected Runtime
281
281
~~~~~~~~~~~~~~~~~~~
282
282
283
-
For the Planck lite likelihood (each evaluation ~0.5-1 second):
284
-
285
-
- ~2-5 minutes for ~120 evaluations
286
-
287
-
Note: Actual likelihood evaluation and total runtime may vary according to your hardware specifications.
283
+
For the Planck lite likelihood (each evaluation ~0.5-1 second), this run should take around 2-5 minutes. Note: total runtime may vary according to your hardware specifications.
0 commit comments