Compass-Calibration Fig. Result of batch magnetometer calibration algorithm using least-squared ellipsoid fitting.