A python package to calculate the Bhattacharyya coefficient and Bayes error of two paleomagnetic poles using the framework presented by:

Heslop, D. & A. P. Roberts (2019). Quantifying the similarity of palaeomagnetic poles, Journal of Geophysical Research (submitted).


The simplest way to run the Bhattacharyya package is via the Binder cloud.

You can launch an interactive Jupyter notebook on Binder using this button: Binder

There is a short YouTube tutorial for the interactive notebook here.


You can find the Bhattacharyya code and example Jupyter notebook on GitHub.

If you would like to run the Bhattacharyya package locally, it can be installed from GitHub using:

pip intall git+https://github.com/dave-heslop74/bhattacharyya.git