Multipole Inversion documentation#


The MMT numerical library Multipole Inversion is a Python library to perform numerical inversions of magnetic scan signals on a surface into a single or multiple magnetic sources, which are modelled as physical point sources. Numerical inversions are based on a spherical harmonic expansion of the magnetic scalar potential of every source, from which dipole and higher order multipole moments can be obtained. For mathematical details of the multipole inversion technique please refer to:

D. Cortés-Ortuño, K. Fabian, L. V. de Groot
Geochemistry, Geophysics, Geosystems 22(4), e2021GC009663 (2021)
DOI: <>

If you find this library useful, please cite it referring to the paper as:

  author = {Cortés-Ortuño, David and Fabian, Karl and de Groot, Lennart V.},
  title = {Single Particle Multipole Expansions From Micromagnetic Tomography},
  journal = {Geochemistry, Geophysics, Geosystems},
  volume = {22},
  number = {4},
  pages = {e2021GC009663},
  keywords = {magnetism, micromagnetic tomography, multipole, paleomagnetism, rock magnetism},
  doi = {},
  url = {},
  eprint = {},
  note = {e2021GC009663 2021GC009663},
  year = {2021}

You can also cite the library directly using:

  author       = {Cortés-Ortuño, David and Fabian, Karl and de Groot, Lennart V.},
  title        = {{MMT Numerical Libraries: Multipole Inversion}},
  publisher    = {Zenodo},
  note         = {Github: \url{}},
  year         = {2022},
  doi          = {10.5281/zenodo.6473257},
  url          = {},


Please refer to the Tutorial: Basics section.

Source code#

Documentation of every function and class provides more details on the methods and options of the library, these are specified in the API section. You can also check the project’s Github repository.