Analysis of cavity and window for THz Gyrotron | IEEE Conference Publication | IEEE Xplore