Text this: Realization of inhomogeneous magnetic field for prism-type mass analyzer