From 35e0b27364c2fda7faa22d9e1c335b7f7a8fa10b Mon Sep 17 00:00:00 2001 From: lukas Date: Wed, 5 Feb 2025 14:03:27 +0100 Subject: [PATCH] change actino bacteria volume calculation --- observe_main.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/observe_main.html b/observe_main.html index 925ee84..a5170b0 100644 --- a/observe_main.html +++ b/observe_main.html @@ -807,7 +807,9 @@ Math.pow((item.width*real_width_FoV),2.0)*Math.PI/4.0; break case "Actinobacteria": - total.Actinobacteria += item.length*real_width_FoV; + // the diameter is estimated to always be 1 um. + // A is the (D=1)²/4*pi = pi/4 + total.Actinobacteria += item.length*real_width_FoV*Math.PI/4.0; break case "Flagelate": total.Flagelate +=1;