Example of how to do soft and hard iron calibration from a 3DOF magnetometer. http://psas.pdx.edu/
 

221 B

psas-magnetometer-calibration

Example of how to do soft and hard iron calibration from a 3DOF magnetometer.

Install and run locally:

$ pipenv install
$ pipenv run jupyter notebook

And edit the notebook.