I'm doing some modeling of a bending magnet in FEMM, to use as a magnetic spectrometer, and came across the following equation:
with the setup of the magnetic spectrometer similar to the following figure:
At first I modeled a hard edge scenario in a 2D cross section, where no fringe fields had...