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

Resources

  • Physics and Computation
  • Examples
    • Working with Paths
    • 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

User Guide#

The user guide provides detailed descriptions of the Magpylib API with many interactive examples to help users along the way.

Getting Started

  • Installation and Dependencies
    • Dependencies and Synergies
    • Installation
  • The Magpylib Fundamentals
    • Basic Features
    • Advanced Features

Documentation

  • Units and Types
    • Units
    • Arbitrary Unit Convention
    • Types
  • The Magpylib Classes
    • Base Properties
    • Local and Global Coordinates
    • Magnet Classes
    • Current Classes
    • Miscellaneous Classes
    • Sensor
    • Collection
  • Position, Orientation, and Paths
    • Position and Orientation
    • Move and Rotate
  • Field Computation (B, H, J, M)
    • Object-oriented Interface
    • Functional Interface
    • Core Interface
    • Computation Workflow (B, H, J, M)
  • Force Computation (F, T)
    • Computation Idea
    • Force Interface
  • Graphic output
    • 3D View
    • Graphic Backends
    • Plotting Canvas
    • Return Figure
    • Animation
    • Built-in Subplots
  • Graphic Styles
    • Default Style
    • Magic Underscore Notation
    • Individual Style
    • Collection Style
    • Local Style Override
    • List of Style Properties
    • Custom 3D Models
    • Pre-defined 3D Models
    • Adding a CAD Model
    • Pixel Field

Resources

  • Physics and Computation
  • Examples

previous

Magpylib Documentation

next

Installation and Dependencies

Edit on GitHub

This Page

  • Show Source

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