For extended uniformly magnetized bodies, a practical implementation of a numerical algorithm for solving an integral-differential equation on a function that defines the localization, shape, and size of a cavity in such a magnet based on the measured resulting field outside of it has been investigated. A program in the FORTRAN language that implements the above algorithm has been compiled. As a test and illustrative example of the studied algorithm for a uniformly magnetized cylindrical magnet, the shape, dimensions, and position of a non-coaxial cylindrical cavity in the magnet have been reconstructed.
V.V. Dyakin (Wed,) studied this question.