TY - JOUR
T1 - Magnetic field modeling with surface currents. Part II. Implementation and usage of bfieldtools
AU - Zetter, Rasmus
AU - Mäkinen, Antti J.
AU - Iivanainen, Joonas
AU - Zevenhoven, Koos C.J.
AU - Ilmoniemi, Risto J.
AU - Parkkonen, Lauri
N1 - | openaire: EC/H2020/820393/EU//MACQSIMAL
| openaire: EC/H2020/678578/EU//HRMEG
PY - 2020/8/14
Y1 - 2020/8/14
N2 - 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.
AB - 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.
UR - http://www.scopus.com/inward/record.url?scp=85090081704&partnerID=8YFLogxK
U2 - 10.1063/5.0016087
DO - 10.1063/5.0016087
M3 - Article
AN - SCOPUS:85090081704
SN - 0021-8979
VL - 128
JO - Journal of Applied Physics
JF - Journal of Applied Physics
IS - 6
M1 - 063905
ER -