Thesecoilsare normallyused to selectslices for creatingthree-dimensionalimages, butthemagnetic fields theycreatecanalsobeused to exert a forceon a smallmagneticobjectinside a scanner.
A compass is a device containing a metal object that points toward the magnetic north pole.
VOA: special.2010.07.14
Maglev technology has been around for years as the propulsion method behind certain European and Asian trains, and basically involves using the Physics 101 properties of magnetic attraction and repulsion to provide an object with momentum.
The magnetometer will record what, if any, magnetic field the asteroid has, thus revealing whether it was ever part of an object large enough to have possessed the molten iron core needed to generate such a field.