Skip to content
Discussion options

You must be logged in to vote

Ah ok you want a number of real particles. Sorry I misunderstood

If you are in 2D or 1D, then you have no way to get a number of particles in a well defined way. I suggest to use happi 's average option to sum over axes then check the units you obtain. You should only need to multiply by a volume. Happi takes into account the summing, the bin size, even when non uniform. It just does not work if you have custom axes but that is not your case

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mccoys
Comment options

Answer selected by Z10Frank
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #851 on November 27, 2025 09:18.