Transient processes in spin-wave systems with magnetic dipole radiation—I. Theory