Measurements of the spread in the initial electron energy in a gyrotron