Here is a field map of the magnet. Calculation range covering the following coordinate space: (Attention I changed the axes according to standard z=beam) axis calculated range x: horizontal axis +100 -> -100 cm y: vertical axis +110 -> -110 cm z: beam axis +30 -> + 70 cm point spacing 5 cm file format of field.dat x y z Bx By Bz