I am trying to prove this relation, which I think can only be evaluated via contour integration: $$ \int_{-\infty}^{\infty}dk\;e^{ikx}\frac{k\sinh\left[k(y-\frac{w}{2})\right]}{\cosh\left(\frac{kw}{2}\right)}=\frac{\pi^{2}}{w^{2}}Re\left[\frac{\cosh[\frac{\pi}{w}(x+iy)]}{\sinh^{2}[\frac{\pi}{w}(x+iy)]}\right] $$ This is equation 18 (see also below Eq 16) in the paper "Linking Spatial Distributions of Potential and Current in Viscous Electronics" (arXiv PDF).
Any help will be highly appreciated.