{'fraction_non_alphanumeric': 0.024742268041237112, 'fraction_numerical': 0.004123711340206186, 'mean_word_length': 4.586206896551724, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
2D FE code for the simulation and design of TWT electron guns

A two-dimensional finite-element (FE) code TGSD for the simulation and design of axially symmetric electron guns of TWTs is reported. TGSD is a 2D steady-state trajectory code, which takes into account the space-charge effect and external magnetic field. A friendly interface is provided to simulate, test and design the electron gun. The theoretical models are discussed and the results of a dual anode gun are presented.