CMD + K

magpylib

Community

A simple, user friendly Python 3 toolbox for calculating magnetic fields from permanent magnets and current distributions.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::magpylib

Usage Tracking

5.1.1
5.1.0
5.0.4
5.0.3
5.0.2
5 / 8 versions selected
Total downloads: 0

Description

magpylib provides simple and easy to use classes for calculating magnetic fields depending only on numpy and matplotlib. The core of the library is the source class which can represent permanent magnets, current distributions or magnetic moments in a 3D space. The library provides simple ways to generate such source objects, to manipulate them geometrically, to group several sources into a Collection system and to calculate the resulting fields of such systems. The systems may also be quickly visualized with a matplotlib based 3D plot method.

About

Summary

A simple, user friendly Python 3 toolbox for calculating magnetic fields from permanent magnets and current distributions.

Information Last Updated

Apr 22, 2025 at 14:57

License

AGPL-3.0-or-later

Total Downloads

80.6K

Platforms

noarch Version: 5.1.1