Reg: Calculating the equivalent diameter of non-spherical particles

your manual calculation is computing something very different than what compute gyration does. you are computing the radius of gyration for the center of mass of the nanoparticles, while compute gyration computes the radius of gyration considering all constituent atoms of those nanoparticles.

axel.