Gravity code The voxel_grav function allows for the voxel-based computation of Bouguer anomalies and gradients from a 3D density matrix. GeophysicalModelGenerator.voxel_grav