\[\operatorname{ds}\left(z,k\right)-\frac{\pi}{2K}\csc\zeta=-\frac{2\pi}{K}\sum_%
{n=0}^{\infty}\frac{q^{2n+1}\sin\left((2n+1)\zeta\right)}{1+q^{2n+1}},\]