Skip to main content
Ctrl+K

Magpylib

  • User Guide
  • API reference
  • Contributing
  • Changelog
  • GitHub
  • User Guide
  • API reference
  • Contributing
  • Changelog
  • GitHub
Ctrl+K

Section Navigation

Getting Started

  • Installation and Dependencies
  • The Magpylib Fundamentals

Documentation

  • Units and Types
  • The Magpylib Classes
  • Position, Orientation, and Paths
  • Field Computation (B, H, J, M)
  • Force Computation (F, T)
  • Graphic output
  • Graphic Styles
  • Writing a custom display backend

Resources

  • Physics and Computation
  • Examples
    • Working with Paths
    • Path-Varying Properties
    • Field Computation (B, H, J, M)
    • Working with Collections
    • Custom Source
    • Modeling a Real Magnet
    • Magnet Colors
    • Animations
    • Subplots
    • Matplotlib Streamplot
    • Pyvista 3D Field Lines
    • Pixel Field (Quiver Plot)
    • Superposition
    • Convex Hull
    • Triangular Meshes
    • Pyvista Bodies
    • Magnets from CAD
    • Compounds
    • Field Interpolation
    • Inhomogeneous Magnetization
    • Magnetic Angle Sensor
    • Halbach Magnets
    • Coils
    • Magnetic Scales
    • Force and Torque Basics
    • Force and Torque Physics
    • Magnetic Holding Force
    • Floating Magnets
  • User Guide
  • Examples

Examples#

Fundamentals#

Working with Paths
link to example
Path-Varying Properties
link to example
Field Computation (B, H, J, M)
link to example
Working with Collections
link to example
Modeling a Real Magnet
link to example

Visualizations#

Magnet Colors
link to example
Animations
link to example
Subplots
link to example
Matplotlib Streamplot
link to example
Pyvista 3D Field Lines
link to example
Pixel Field (Quiver Plot)
link to example

Complex Shapes#

Superposition
link to example
Convex Hull
link to example
Triangular Meshes
link to example
Pyvista Bodies
link to example
Magnets from CAD
link to example
Current Sheets
link to example

Advanced Models#

Custom Source
link to example
Compounds
link to example
Field Interpolation
link to example
Inhomogeneous Magnetization
link to example
Equivalent Charge and Current Method
link to example
Method of Images
link to example

Applications#

Magnetic Angle Sensor
link to example
Halbach Magnets
link to example
Coils
link to example
Magnetic Scales
link to example
Planar Conductors
link to example

Force and Torque#

Force and Torque Basics
link to example
Force and Torque Physics
link to example
Magnetic Holding Force
link to example
Floating Magnets
link to example

previous

Physics and Computation

next

Working with Paths

On this page
  • Fundamentals
  • Visualizations
  • Complex Shapes
  • Advanced Models
  • Applications
  • Force and Torque
Edit on GitHub
Show Source

© Copyright 2019-2025, Magpylib developers, License: BSD 2-clause, Built with Sphinx Pydata-Theme.