Halbach Magnets

Halbach Magnets#

Magpylib is an excellent tool to create magnet assemblies. In this example we will show how to model Halbach magnets.

Example 1: Halbach magnetization using CylinderSegments

Example 2: Discrete Halbach magnets