MAGY: a self-consistent code for modelling electron beam devices | IEEE Conference Publication | IEEE Xplore