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
first of all: Sorry, I can't Edit the header line it should be "Logarithmic mean"
as we usually have to handle a wide area of particle sizes with our counters we are used to use logarithmic scales in our plots. But it seems that the midpoints of the bin-widths are calculated linear "arithmetic mean" (see description line 34/35, example calculation in line59 of "utils.py" and calculation beginning at line 121.
Why don't you use the logarithmic mean here which would not create an error drawing the bins?
something like bins[:, 1] =10**(math.log(bins[:, 0],10) + math.log(bins[:, 2],10)) / 2
Best, Swawa
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
first of all: Sorry, I can't Edit the header line it should be "Logarithmic mean"
as we usually have to handle a wide area of particle sizes with our counters we are used to use logarithmic scales in our plots. But it seems that the midpoints of the bin-widths are calculated linear "arithmetic mean" (see description line 34/35, example calculation in line59 of "utils.py" and calculation beginning at line 121.
Why don't you use the logarithmic mean here which would not create an error drawing the bins?
something like
bins[:, 1] =10**(math.log(bins[:, 0],10) + math.log(bins[:, 2],10)) / 2Best, Swawa
Beta Was this translation helpful? Give feedback.
All reactions