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

Try it online: MyBinder link


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, Plotly (optional)


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.0rc0.tar.gz (165.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: magpylib-4.0.0rc0.tar.gz
  • Upload date:
  • Size: 165.8 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.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for magpylib-4.0.0rc0.tar.gz
Algorithm Hash digest
SHA256 457ec69a2d8f88c1a0d8ef0f7ed4d5735e720ebb17c5cc3624bf853eb7d1258e
MD5 8605e1fa8fb6aae265f98bd29adbf47e
BLAKE2b-256 8fac3a5501d4436ab4fadee46510dbdb94ec2d56663fe79a00395fc51c5c4575

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