Waveguide electromagnetic field analyzer