A scientific instrument that registers magnetic variations (especially variations of the earth's magnetic field)