Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sum of weights (squared) in WeightedMean histograms not filled properly #562

Open
olbessid opened this issue Mar 22, 2024 · 0 comments
Open

Comments

@olbessid
Copy link

I am filling histograms with storage type WeightedMean. I then want to retrieve the sum of weights and more particularly the sum of weights squared bin by bin. But I find that calling both these properties just returns the number of histogram entries. I am using python 3.8.
Attaching a minimalistic example to illustrate the issue. I wasn't able to attach the notebook itself, so I made a screenshot and also collected the code in a pdf.
Screenshot from 2024-03-22 13-33-58
notebook snippet.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant