MHD Macroscopic ball analysis: An Open Toolkit for Analyzing Magnetic Particle Rotation in Viscous Media
Abstract
This paper presents MHDMacroscopicballanalysis, an open-source Python toolkit developed to study the rotational dynamics of magnetized spherical particles immersed in viscous media under externally applied rotating magnetic fields. The toolkit extracts the orientation of the magnetic moment from grayscale video frames using image processing and enables detailed comparisons with synchronized magnetic field vector data. We outline the motivation, core algorithms, implementation, and validation of the toolkit in the context of macroscopic experiments simulating magnetohydrodynamic (MHD) particle behavior. The full source code and documentation are freely available on GitHub at https://github.com/robertstreize/mhd-rotation-tools, with a citable version archived on Zenodo at https://doi.org/10.5281/zenodo.1234567.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.