Dynamic and static measurements of strongly inhomogeneous magnetic fields