Radiation of a charge flying in a partially loaded dielectric section of a waveguide