Skip to main content

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

Project description


Builds:

Documentation:

Test Coverage: Language grade: Python

Downloads: PyPI version Conda Cloud Conda Cloud


What is magpylib ?

  • 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.


Dependencies:

Python3.6+, Numpy, Matplotlib


Docu & Install:

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

magpylib-2.0.0b0.tar.gz (63.1 kB view details)

Uploaded Source

File details

Details for the file magpylib-2.0.0b0.tar.gz.

File metadata

  • Download URL: magpylib-2.0.0b0.tar.gz
  • Upload date:
  • Size: 63.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0

File hashes

Hashes for magpylib-2.0.0b0.tar.gz
Algorithm Hash digest
SHA256 3b8e2ae3c7e18ba2020823defb666d1250f98c92c3ea1a500d7226c870d12d48
MD5 88509938ceec5a531b86a439f2da6506
BLAKE2b-256 f5e32fbb25d6b8d6196dcd1e6ee4fac06ca2b38e9fa35243d8665382526ba0dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page