Name the instrument used to find out main directions.
The instrument which is used to measure magnetic field is :