Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add MCMC tutorial using emcee #2077
A first PR for the MCMC tutorial with emcee mentioned in #1923. This is in fact a very nice showcase of the power of the recent
The notebook simulates a dataset with
I have many questions and there are many things to improve but the first thing that we should decide is:
Then there are several things that could be improved :
Thank you very much @facero. This is indeed a very nice show-case for the
Just a few preliminary comments:
The problem concerning the background parameters I didn't understand yet. If the background parameters are free they should be included in
Concerning which spectral model to use I don't have a strong opinion. I think this tutorial does not have to show a scientifically super meaningful analysis. I think assuming any plausible spectral model is probably fine.
Thanks ! I will implement those changes.
One thing still is when doing
@facero You can alway print the full parameter list using:
Or print the background model separately:
One thing that is currently missing in Gammapy is the back-reference of parameters to their models and datasets they belong to. Once we have this we can add a nicer API to work with the global model parameter list.