Magpy: A C++ accelerated Python package for simulating magnetic nanoparticle stochastic dynamics
Abstract: Magpy is a C++ accelerated Python package for modelling and simulating the magnetic dynamics of nano-sized particles. Nanoparticles are modelled as a system of three-dimensional macrospins and simulated with a set of coupled stochastic differential equations (the Landau-Lifshitz-Gilbert equation), which are solved numerically using explicit or implicit methods. The results of the simulations may be used to compute equilibrium states, the dynamic response to external magnetic fields, and heat dissipation. Magpy is built on a C++ library, which is optimised for serial execution, and exposed through a Python interface utilising an embarrassingly parallel strategy. Magpy is free, open-source, and available on github under the 3-Clause BSD License.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.