change actino bacteria volume calculation

This commit is contained in:
lukas fricke 2025-02-05 14:03:27 +01:00
parent df8f2c2fa1
commit 35e0b27364

View file

@ -807,7 +807,9 @@
Math.pow((item.width*real_width_FoV),2.0)*Math.PI/4.0; Math.pow((item.width*real_width_FoV),2.0)*Math.PI/4.0;
break break
case "Actinobacteria": 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 break
case "Flagelate": case "Flagelate":
total.Flagelate +=1; total.Flagelate +=1;