Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add example script for cube background models #338
The script uses the same model (except for absolute normalization) to produce a true cube bg model and a reco cube bg model. The models can be used to test the cube bg model production and can be compared to each other using the plot_bg_cube_model_comparison.py example script.
Ok, now true and reco are very similar:
I'm not sure if we still need to investigate the differences. @cdeil what is your opinion?
For me, I think I have reached my goal in this PR: have similar true/reco models. I will implement the comments from the code review tomorrow.
It is not random: this is the function where the bg cube gets its bg rate units, and is called each time a cube is created.
But now that you mention it, this is not the right place, since this function is inside the generic
added a commit
this pull request
Sep 3, 2015
@cdeil I forgot one last thing. I'd like to add the plot comparing true/reco:
to the high-level docs, at the end of:
I think it would help illustrate the capabilities of bg cube production. The file is 260 kB; is it ok, or is it too big?
@mapazarr – That is a nice Figure and it would be good to have in the docs.
But indeed, I'd prefer to keep the
If you like, you can already put the image here for now: