Magnetic field modeling with surface currents. Part II. Implementation and usage of bfieldtools
Open Access
- 12 August 2020
- journal article
- conference paper
- Published by AIP Publishing in Journal of Applied Physics
- Vol. 128 (6) , 063905
Abstract
We present a novel open-source Python software package, bfieldtools, for magneto-quasistatic calculations using current densities on surfaces of arbitrary shape. The core functionality of the software relies on a stream-function representation of surface-current density and its discretization on a triangle mesh. Although this stream-function technique is well known in certain fields, to date, the related software implementations have not been published or have been limited to specific applications. With bfieldtools, we aimed to produce a general, easy-to-use, and well-documented open-source software. The software package is written purely in Python; instead of explicitly using lower-level languages, we address computational bottlenecks through extensive vectorization and use of the NumPy library. The package enables easy deployment, rapid code development, and facilitates application of the software to practical problems. In this paper, we describe the software package and give an extensive demonstration of its use with an emphasis on one of its main applications—coil design.Keywords
All Related Versions
Funding Information
- Viljo, Yrjö and Kalle Väisälä Foundation
- H2020 European Research Council (678578)
- H2020 Future and Emerging Technologies (820393)
- Svenska Kulturfonden (140635)
This publication has 35 references indexed in Scilit:
- Theory of gradient coil design methods for magnetic resonance imagingConcepts in Magnetic Resonance Part A, 2010
- Minimax current density coil designJournal of Physics D: Applied Physics, 2010
- Split gradient coils for simultaneous PET‐MRIMagnetic Resonance in Medicine, 2009
- Discrete Laplace–Beltrami operators for shape analysis and segmentationComputers & Graphics, 2009
- Novel Target-Field Method for Designing Shielded Biplanar Shim and Gradient CoilsIEEE Transactions on Magnetics, 2004
- A new technique to optimize the coil winding path for the arbitrarily distributed magnetic field and application to a helical confinement systemPhysics of Plasmas, 2003
- Thermal fluctuations of the magnetic field over a thin conducting plateJournal of Applied Physics, 1998
- Spherical gradient coil for ultrafast imagingJournal of Applied Physics, 1997
- Minimum energy MRI gradient coils of general geometryMeasurement Science and Technology, 1992
- Solution of stellarator boundary value problems with external currentsNuclear Fusion, 1987