local_densities function

local_densities