Analyze molecular simulations of droplets The droplet must be a spherical cap in the z dimension. A similar implementation can be found here