- Python package for calculating magnetic fields of magnets, currents and moments (sources).
- Provides convenient methods to generate, geometrically manipulate, group and vizualize assemblies of sources.
- The magnetic fields are determined from underlying (semi-analytical) solutions which results in fast computation times and requires little computation power.
Python3.6+, Numpy, Matplotlib
Please check out our documentation for installation, examples and detailed information!
Installing this project using pip:
pip install magpylib
Installing this project locally:
- Clone this repository to your machine.
- In the directory, run
pip install .
in your conda terminal.