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.1.0b0.tar.gz (63.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: magpylib-2.1.0b0.tar.gz
  • Upload date:
  • Size: 63.6 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.40.0 CPython/3.8.0

File hashes

Hashes for magpylib-2.1.0b0.tar.gz
Algorithm Hash digest
SHA256 21a65843f43f8244513b9f5452136672972b99c913a6129e228f1c1a6fe89406
MD5 7790815995d976c596636afb70a3ebc8
BLAKE2b-256 f394945261ff55277c4256a15449decbb6b7c5df760a7a370102d3cee93b3137

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