An analytical solution for quantum scattering through a $${\cal P}{\cal T}$$ P T -symmetric delta potential