The real part of an analytic function $f(z)$ where $z = x + jy$ is given by $e^{-y} \cos(x)$. The imaginary part of $f(z)$ is