In a physics paper (pubs.acs.org/doi/10.1021/j100210a011), I see the following transformation:
$$\sum_q \frac{2[1-\cos(\textbf{q} \cdot \textbf{r})]}{q^2} =\frac{1}{\pi} \int_0^{+\infty}[1-J_0(qr)]\frac{dq}{q}$$
in which $\textbf{q}$ is a wave vector (spatial frequencies in 2D), $\textbf{r}$ is a 2D position vector on an undulating surface, and $J_0$ is the Bessel function of the first kind. $q$ is the magnitude of the wave vector and $r$ is the magnitude of the position vector.
I do not understand how it is possible to derive such an equation. Does someone have a clue? How does this Bessel function appear? Why is there a $\pi$ on the right hand side? Also there seems to be an inconsistency in dimension as the left hand side has the dimension of squared distance whereas the right hand side has no dimension.