Elsevier Science Home
Computer Physics Communications Program Library
Full text online from Science Direct
Programs in Physics & Physical Chemistry
CPC Home

[Licence| Download | New Version Template] afbk_v1_0.tar.gz(1189 Kbytes)
Manuscript Title: eqtools: Modular, Extensible, Open-Source, Cross-Machine Python Tools for Working with Magnetic Equilibria
Authors: M. A. Chilenski, I. C. Faust, J. R. Walk
Program title: eqtools
Catalogue identifier: AFBK_v1_0
Distribution format: tar.gz
Journal reference: Comput. Phys. Commun. 210(2016)161
Programming language: Python, C.
Computer: PCs.
Operating system: Linux, Macintosh OS X, Microsoft Windows.
RAM: Several megabytes, depends on resolution of data
Keywords: Plasma physics, Tokamaks, Magnetic equilibrium reconstruction, Data analysis.
PACS: 52.55.Fa, 07.05.Kf, 52.70.Ds.
Classification: 19.4.

External routines: F2PY [1], matplotlib [2], MDSplus [3], NumPy [4], SciPy [5]

Nature of problem:
Access to results from magnetic equilibrium reconstruction code, conversion between various coordinate systems tied to the magnetic equilibrium.

Solution method:
Data are stored in an object-oriented data structure with human-readable getter methods. Coordinates are converted using bivariate or trivariate splines.

Running time:
Coordinate transformations on a 66x66 point spatial grid take between 1 and 5 milliseconds per time slice, depending on the transformation used and how many intermediate results have been stored.

[1] P. Peterson, F2PY: a tool for connecting Fortan and Python programs, International Journal of Computational Science and Engineering 4 (4) (2009) 296-305.
[2] J. D. Hunter, Matplotlib: A 2D graphics environment, Computing in Science and Engineering, 9 (3) (2007) 90-95.
[3] J. A. Stillerman, T. W. Fredian, K. A. Klare, G. Manduchi, MDSplus data acquisition system, Review of Scientific Instruments 68 (1) (1997) 939-942.
[4] S. van der Walt, S. C. Colbert and G. Varoquaux, The NumPy array: a structure for efficient numerical computation, Computing in Science and Engineering 13 (2) (2011) 22-30.
[5] E. Jones, T. Oliphant, P. Peterson, et al., SciPy: Open source scientific tools for Python (2001-).