Elliptic Fourier features of a closed contour