Theory of hydromagnetic propagation in the ionospheric waveguide