eqtools: Modular, extensible, open-source, cross-machine Python tools for working with magnetic equilibria
Abstract
As plasma physics research for fusion energy transitions to an increasing emphasis on cross-machine collaboration and numerical simulation, it becomes increasingly important that portable tools be developed to enable data from diverse sources to be analyzed in a consistent manner. This paper presents eqtools, a modular, extensible, open-source toolkit implemented in the Python programming language for handling magnetic equilibria and associated data from tokamaks. eqtools provides a single interface for working with magnetic equilibrium data, both for handling derived quantities and mapping between coordinate systems, extensible to function with data from different experiments, data formats, and magnetic reconstruction codes, replacing the diverse, non-portable solutions currently in use. Moreover, while the open-source Python programming language offers a number of advantages as a scripting language for research purposes, the lack of basic tokamak-specific functionality has impeded the adoption of the language for regular use. Implementing equilibrium-mapping tools in Python removes a substantial barrier to new development in and porting legacy code into Python. In this paper, we introduce the design of the eqtools package and detail the workflow for usage and expansion to additional devices. Additionally, the implementation of a novel three-dimensional spline solution (in two spatial dimensions and in time) ismore »
- Authors:
-
- Massachusetts Inst. of Technology (MIT), Cambridge, MA (United States). Plasma Science and Fusion Center
- Massachusetts Inst. of Technology (MIT), Cambridge, MA (United States). Plasma Science and Fusion Center; Cinch Financial, Boston, MA (United States)
- Publication Date:
- Research Org.:
- Massachusetts Inst. of Technology (MIT), Cambridge, MA (United States); Oak Ridge Associated Univ., Oak Ridge, TN (United States)
- Sponsoring Org.:
- USDOE Office of Science (SC), Fusion Energy Sciences (FES)
- OSTI Identifier:
- 1533697
- Alternate Identifier(s):
- OSTI ID: 1415654
- Grant/Contract Number:
- FC02-99ER54512; AC05-06OR23100
- Resource Type:
- Accepted Manuscript
- Journal Name:
- Computer Physics Communications
- Additional Journal Information:
- Journal Volume: 210; Journal Issue: C; Journal ID: ISSN 0010-4655
- Publisher:
- Elsevier
- Country of Publication:
- United States
- Language:
- English
- Subject:
- 70 PLASMA PHYSICS AND FUSION TECHNOLOGY; 97 MATHEMATICS AND COMPUTING; Plasma physics; Tokamaks; Magnetic equilibrium reconstruction; Data analysis
Citation Formats
Chilenski, M. A., Faust, I. C., and Walk, J. R. eqtools: Modular, extensible, open-source, cross-machine Python tools for working with magnetic equilibria. United States: N. p., 2016.
Web. doi:10.1016/j.cpc.2016.09.011.
Chilenski, M. A., Faust, I. C., & Walk, J. R. eqtools: Modular, extensible, open-source, cross-machine Python tools for working with magnetic equilibria. United States. https://doi.org/10.1016/j.cpc.2016.09.011
Chilenski, M. A., Faust, I. C., and Walk, J. R. Wed .
"eqtools: Modular, extensible, open-source, cross-machine Python tools for working with magnetic equilibria". United States. https://doi.org/10.1016/j.cpc.2016.09.011. https://www.osti.gov/servlets/purl/1533697.
@article{osti_1533697,
title = {eqtools: Modular, extensible, open-source, cross-machine Python tools for working with magnetic equilibria},
author = {Chilenski, M. A. and Faust, I. C. and Walk, J. R.},
abstractNote = {As plasma physics research for fusion energy transitions to an increasing emphasis on cross-machine collaboration and numerical simulation, it becomes increasingly important that portable tools be developed to enable data from diverse sources to be analyzed in a consistent manner. This paper presents eqtools, a modular, extensible, open-source toolkit implemented in the Python programming language for handling magnetic equilibria and associated data from tokamaks. eqtools provides a single interface for working with magnetic equilibrium data, both for handling derived quantities and mapping between coordinate systems, extensible to function with data from different experiments, data formats, and magnetic reconstruction codes, replacing the diverse, non-portable solutions currently in use. Moreover, while the open-source Python programming language offers a number of advantages as a scripting language for research purposes, the lack of basic tokamak-specific functionality has impeded the adoption of the language for regular use. Implementing equilibrium-mapping tools in Python removes a substantial barrier to new development in and porting legacy code into Python. In this paper, we introduce the design of the eqtools package and detail the workflow for usage and expansion to additional devices. Additionally, the implementation of a novel three-dimensional spline solution (in two spatial dimensions and in time) is also detailed. Finally, verification and benchmarking for accuracy and speed against existing tools are detailed. Wider deployment of these tools will enable efficient sharing of data and software between institutions and machines as well as self-consistent analysis of the shared data.},
doi = {10.1016/j.cpc.2016.09.011},
journal = {Computer Physics Communications},
number = C,
volume = 210,
place = {United States},
year = {Wed Sep 28 00:00:00 EDT 2016},
month = {Wed Sep 28 00:00:00 EDT 2016}
}
Web of Science
Works referenced in this record:
Reconstruction of current profile parameters and plasma shapes in tokamaks
journal, November 1985
- Lao, L. L.; St. John, H.; Stambaugh, R. D.
- Nuclear Fusion, Vol. 25, Issue 11
The NumPy Array: A Structure for Efficient Numerical Computation
journal, March 2011
- van der Walt, Stéfan; Colbert, S. Chris; Varoquaux, Gaël
- Computing in Science & Engineering, Vol. 13, Issue 2
Diagnostic Systems on Alcator C-Mod
journal, April 2007
- Basse, N. P.; Dominguez, A.; Edlund, E. M.
- Fusion Science and Technology, Vol. 51, Issue 3
High-resolution edge Thomson scattering measurements on the Alcator C-Mod tokamak
journal, January 2001
- Hughes, J. W.; Mossessian, D. A.; Hubbard, A. E.
- Review of Scientific Instruments, Vol. 72, Issue 1
MDS plus data acquisition system
journal, January 1997
- Stillerman, J. A.; Fredian, T. W.; Klare, K. A.
- Review of Scientific Instruments, Vol. 68, Issue 1
Thomson scattering upgrades on Alcator C-Mod
journal, March 2003
- Hughes, J. W.; Mossessian, D.; Zhurovich, K.
- Review of Scientific Instruments, Vol. 74, Issue 3
Tricubic interpolation in three dimensions
journal, January 2005
- Lekien, F.; Marsden, J.
- International Journal for Numerical Methods in Engineering, Vol. 63, Issue 3
Improved profile fitting and quantification of uncertainty in experimental measurements of impurity transport coefficients using Gaussian process regression
journal, January 2015
- Chilenski, M. A.; Greenwald, M.; Marzouk, Y.
- Nuclear Fusion, Vol. 55, Issue 2
Works referencing / citing this record:
On the importance of model selection when inferring impurity transport coefficient profiles
journal, November 2019
- Chilenski, M. A.; Greenwald, M.; Marzouk, Y.
- Plasma Physics and Controlled Fusion, Vol. 61, Issue 12