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 static magnetic fields of magnets, currents and other sources.
  • The fields are computed using analytical solutions (very fast, simple geometries and superpositions thereof, no material response)
  • The field computation is coupled to a geometry interface (position, orientation, paths) which makes it convenient to determine relative motion 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-3.0.4.tar.gz (80.5 kB view details)

Uploaded Source

File details

Details for the file magpylib-3.0.4.tar.gz.

File metadata

  • Download URL: magpylib-3.0.4.tar.gz
  • Upload date:
  • Size: 80.5 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.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for magpylib-3.0.4.tar.gz
Algorithm Hash digest
SHA256 f7b2730aa5fd2156e6fffcb1f977a8b5c8ffbab746bcf4ad19b108900847e260
MD5 6deb33b4e427ea529e306068b6d35433
BLAKE2b-256 ef54609408a0889b7b9e817c5f2ddbb62008d08ee14d42b69040639e0f14f5be

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