Magnetometer Calibration

What effect does an operating stepper motor and control and power supply have on your magnetometer?
Paul