Py-EFIT: A new Python package for plasma equilibrium reconstruction on EAST tokamak
Description
Plasma equilibrium is the basis for various tokamak research topics, such as plasma performance evaluation, plasma control, and physical analysis of instability, etc. In this study, we have developed a Python-based toolkit with a graphical user interface (GUI) to reconstruct the tokamak plasma equilibrium, which is called the Py-EFIT program. The main implementation steps of Py-EFIT program are introduced. Firstly, various magnetic diagnostic signals and machine structure of Experimental Advanced Superconducting Tokamak (EAST) are utilized as the inputs for computation. Secondly, the plasma magnetic flux distribution is numerically determined based on these inputs according to the plasma equilibrium reconstruction principle. Finally, a GUI of Py-EFIT program is developed for function execution and visualization of results. This program provides a convenient and user-friendly platform for plasma equilibrium calculation. It has been successfully applied for experimental analysis and plasma equilibrium reconstruction on EAST, which also indicates its potential for practical applications in more tokamak devices.