sensor of Earth’s magnetic field