Skip to content

Commit d358529

Browse files
kkarisjohnbachman
authored andcommitted
Added partial output for mu sigma for one of the histograms.
Signed-off-by: kkaris <[email protected]>
1 parent 4ec2ff5 commit d358529

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

plot_correlation_distribution.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,10 @@ def _get_partial_gaussian_stats(bin_edges, hist):
264264

265265
# pylab.plot(binedges[:-1], correlations_ll03_hist,
266266
# label='all corr > 0.3')
267-
pylab.plot(binedges[:-1], expl_correlation_hist, label='explained')
267+
a_expl, mu_expl, sigma_expl = _get_partial_gaussian_stats(binedges,
268+
expl_correlation_hist)
269+
pylab.plot(binedges[:-1], expl_correlation_hist, label='explained mu={:.2f}, '
270+
'sig={:.2f}')
268271
pylab.plot(binedges[:-1], expl_correlation_direct_hist, label='direct')
269272
pylab.plot(binedges[:-1], expl_correlation_intermediate_hist,
270273
label='intermediate')

0 commit comments

Comments
 (0)