Litcius/Paper detail

Magpylib: A free Python package for magnetic field computation

Michael Ortner, Lucas Gabriel Coliado Bandeira

2020SoftwareX123 citationsDOIOpen Access PDF

Abstract

This paper introduces Magpylib, a light-weight and free Python package used to compute magnetic fields of permanent magnets, currents and moments based on analytical models. The package features a user-friendly interface to create, manipulate, group and visualize such magnetic sources, and to compute the field they generate. We present an overview of structure and functionality of Magpylib, followed by a discussion of possible applications and examples of magnetic system design. Special attention is given to computational performance possibilities in this context.

Topics & Concepts

Python (programming language)Computer scienceComputationComputational scienceMagnetic fieldMagnetProgramming languageComputer engineeringComputer graphics (images)Electrical engineeringPhysicsEngineeringQuantum mechanicsComputational Physics and Python ApplicationsScientific Research and DiscoveriesMagnetic Field Sensors Techniques
Magpylib: A free Python package for magnetic field computation | Litcius