Lattice Green's function is the resolvent of the Laplace operator on a lattice.
See LatticeTools open-source code for evaluation of lattice Green's functions. Will be happy to collaborate on writing a Python version of such package.
© 2024 Andriy Zhugayevych