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
Storing vs drawing histograms & accessing marginalization results #156
We currently have a flag that turns off the histogramming (1D or 2D) for variables, which is checked at the creation of histograms. It essentially is a flag for whether or not we store a histogram.
When we draw the histograms, we simply check if they exist. We do not have a flag for whether to draw the histogram.
It seems wise that we should have two flags: one for whether to store a histogram and one for whether to draw it. In moderately sized projects, a user turns off a histogram in order to reduce the size of the output PDF file. But one might want to still access the information about marginalization, which is no longer available since the histogram was not stored. If one doesn't want to draw the histogram, we should then naturally control that separately from whether one wants to store the histogram and have access to the results it contains.
I can also imagine that in an analysis with very many parameters, one might want to turn off also the storage of unnecessary histograms (which could be memory intensive), and so we could also have a separate flag for this.
Finally: we should maybe give easy access to the marginalization results that doesn't involve having to ask for the BCHistogram objects.
Activity
greenwald commentedon Apr 11, 2016
Simplest solution: move flag-checking from time of histogram creation to time of histogram drawing. Create all histograms. Memory be damned!