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
For testing, it's useful to be able to easily get the observables for a specific model to check all settings are correct and that theory predictions agree with expectations. (equivalent of action=4 and test_output_root in CosmoMC)
The text was updated successfully, but these errors were encountered:
You're right it is basically there. I was thinking of a single function that would return the dictionary of requested things (In CosmoMC it also writes them to a file, which can be convenient if e.g testing a setup on a cluster - but I would agree not strictly needed). I guess this can be done indirectly by referencing current_state() but not super intuitive. Adding a function to save dict of the observable to a pickle might however also be useful if we want to support data-variation importance sampling without recomputing observables at some point.
Btw, I think in examples we should now use "model.theory" as much more logical than "model.likelihood.theory".
For testing, it's useful to be able to easily get the observables for a specific model to check all settings are correct and that theory predictions agree with expectations. (equivalent of action=4 and test_output_root in CosmoMC)
The text was updated successfully, but these errors were encountered: