Measurement of the Earth's magnetic field with a rubidium vapor magnetometer