 To measure the changes in magnetic field the magnetometer is used.There are two types of magnetometers, one that measures only vertical component of the magnetic field and the other measures total magnetic field.Magnetometers are used to measure the magnetic fields, magnetic anomalies in the earth.