Demagnetize your Magnetometer

Are you getting wonky readings from the magnetometer on your IMU?  Do the compass headings make no sense at all?  Your magnetometer may have become magnetized to the point that all the readings are distorted by its own magnetic field.  This can happen if your magnetometer is exposed to a strong...