
Overview This Python program enables interactive exploration of the magnetic fields produced by rings of permanent magnets. It provides a Graphical User Interface (GUI) for investigating magnet geometries and field homogeneity. The physical background is described in the article: Analytic approach to creating homogeneous fields with finite-size magnets Ingo Rehberg and Peter Blümler Phys. Rev. Applied 23, 064029 – Published 11 June, 2025, https://doi.org/10.1103/9nnk-jytn preprint: arXiv:2502.18262 Version History v1.0.1 This version includes a configuration inspired by: Sumit Tewari, Thomas O'Reilly, Andrew WebbImproving the Field Homogeneity of Fixed- and Variable-Diameter Discrete Halbach Magnet Arrays for MRI via Optimization of the Angular Magnetization DistributionJournal of Magnetic Resonance, Volume 324, 2021, 106923https://doi.org/10.1016/j.jmr.2021.106923 v1.1.0 Adds functionality to export STL files for 3D printing custom magnet holders. v2.0.0 Adds magnets in the form of cuboids and spheres to the point- and line dipoles.
How to get started: Unzip the file Halbach_two_point_oh_2_0_0.zip. Take a look at the User Guide.pdf Launch the interactive program by running main.py. Using the program: To rotate the ring cluster, check one of the buttons labeled r_e, r_a, or r_r. Important: To stop the rotation, activate the stp checkbox. Preparing for 3D printing: Click the STL button and follow the provided instructions for exporting the model.
Halbach, line dipole, homogenous magnetic field, point dipole, optimizing homogeneity, ring of permanent magnets, optimizing field strength, Python GUI
Halbach, line dipole, homogenous magnetic field, point dipole, optimizing homogeneity, ring of permanent magnets, optimizing field strength, Python GUI
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 0 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
