Skip to main content

Free Python3 package to compute magnetic fields.

Project description


Builds:

Documentation:

Test Coverage: Language grade: Python

Downloads: PyPI version Conda Cloud Conda Cloud Conda Cloud


What is magpylib ?

  • Python package for calculating 3D static magnetic fields of magnets, currents and other sources.
  • The fields are computed using analytical solutions (very fast computations, simple geometries and superpositions thereof).
  • The field computation is coupled to a geometry interface (position, orientation, paths) which makes it convenient to model relative positioning between sources and observers.


Dependencies:

Python3.7+, Numpy, Matplotlib, Scipy


Docu & Install:

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

Installing this project using pip

pip install magpylib

or conda

conda 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-4.0.0b2.tar.gz (165.7 kB view details)

Uploaded Source

File details

Details for the file magpylib-4.0.0b2.tar.gz.

File metadata

  • Download URL: magpylib-4.0.0b2.tar.gz
  • Upload date:
  • Size: 165.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for magpylib-4.0.0b2.tar.gz
Algorithm Hash digest
SHA256 116d4221c0e7f150d3984a1e2a97ada399dc10cdad28f8001575c1d570a2a94b
MD5 e6b71097e0bd84951c8f7980a0e4ebf4
BLAKE2b-256 d5ff66ef489af654a7b77a83f4cad543d9cab24e97d0deeaa551833fbd09c780

See more details on using hashes here.

Supported by

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