Potential (blue) and real (fully drawn) and imaginary (dotted) parts of the two bound and three lowest resonant wavefunctions.  For improved visualization, the wavefunctions are vertically displaced by the real parts of their energies.