-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
|
I don't think that "count" is a unit. You are depositing the weights of particles in each bin and you have several axes so the conversion is not straightforward. You can check what are the units of the results by plotting (function plot) and it should be given in the axes. Then, the conversion done in happi can only to equivalent units. If you want to convert it to another units such as the number of particles you need to figure out the factor yourself. Note that in 1D or 2D simulations there is no way no to get a number of particles without making some assumptions |
Beta Was this translation helpful? Give feedback.
Let's see. The number you have from happi must be multiplied by Delta a x Delta E expressed in code units. This gives you dN/dz in code units, ie. Nr x Lr^d. Thus you multiply the result by Nr x Lr^d expressed in the units you seek.