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


Info: This package contains files in non-standard labels.
  • noarch v4.1.1

conda install

To install this package run one of the following:
conda install -c conda-forge magpylib
conda install -c "conda-forge/label/cf202003" magpylib


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.

© 2022 Anaconda, Inc. All Rights Reserved. (v2.37.2 e0ddc294) Legal | Privacy Policy