Magnetic particle Inspection (MPI) is a non-destructive testing (NDT) process for detecting surface and slightly subsurface discontinuities in ferromagnetic materials such as iron, nickel, cobalt, and some of their alloys. The process puts a magnetic field into the part. The piece can be magnetized by direct or indirect magnetization. Direct magnetization occurs when the electric current is passed through the test object and a magnetic field is formed in the material. Indirect magnetization occurs when no electric current is passed through the test object, but a magnetic field is applied from an outside source. The magnetic lines of force are perpendicular to the direction of the electric current, which may be either alternating current (AC) or some form of direct current (DC) (rectified AC).