• Stars
    star
    241
  • Rank 167,643 (Top 4 %)
  • Language
    Python
  • License
    BSD 2-Clause "Sim...
  • Created almost 6 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Python package for computation of magnetic fields of magnets, currents and moments.


Builds:

Documentation:

Test Coverage:

Downloads: PyPI version Conda Cloud Conda Cloud

Try it online: MyBinder link


What is magpylib ?

Magpylib is a Python package for calculating 3D static magnetic fields of magnets, line currents and other sources. The computation is based on analytical expressions and therefore extremely fast. A user friendly geometry interface enables convenient relative positioning between sources and observers.


Dependencies:

Python3.8+, Numpy, Scipy, Matplotlib, Plotly


Documentation & Install:

Please check out our documentation for installation, examples and detailed information!

Magpylib is on PyPI and conda-forge. Install using pip (pip install magpylib) or conda (conda install magpylib) package managers.