I want write a "toy" Green function witch can describe the electrons in the band with a width of $±W$ with uniform density of states (DOS). The reference gives an explicit expression of imaginary-time Green function: $$G(i\omega)=\frac{1}{2\pi}\ln \frac{i\omega+W}{i\omega+W}$$ with uniform DOS like this:
Thus, I am confused of the origin for above form of Green function?
In addition, I have made some attempts: from the start point of tight-binding model, (half-filling one dimension for simplicity), the Hamiltonian and Green function are:
$$H=-W\sum_{i,j}c_{i}^\dagger c_j+h.c.=-W \cos k c_k^\dagger c_k\\G(i\omega,k)=\frac{1}{i\omega+W\cos k}$$
to obtain the similar expression of initial form for Green function, I integral in term of momentum:
$$G(i\omega)=\int_{-\pi}^\pi G(i\omega,k)dk=\frac{-2i(-1)^{Floor[\frac{\pi-2Arg[i+\omega]+Arg[1+\omega^2]}{2\pi}]}}{\sqrt{1+\omega^2}} $$
the result is very tedious and the DOS is like this:
which is not similar to the initial form. Thus, I am also confused the explicit expression of band structure(energy dispersion), or model, corresponding to the initial form of Green function?