Title: Time-dependent Spectrum Analysis of High Power Gyrotrons