Density observable can calculate the density and gradient