Software Open Access

Harmonica: Forward modeling, inversion, and processing gravity and magnetic data

Fatiando a Terra Project; Esteban, Federico D.; Li, Lu; Oliveira Jr, Vanderlei C; Pesce, Agustina; Shea, Nicholas; Soler, Santiago R.; Tankersley, Matthew; Uieda, Leonardo

Harmonica is a Python library for processing and modeling gravity and magnetic data. It includes common processing steps, like calculation of Bouguer and terrain corrections, reduction to the pole, upward continuation, equivalent layers, and more. There are forward modeling functions for basic geometric shapes, like spheres, prisms, polygonal prisms, and tesseroids. The inversion methods are implemented as classes with an interface inspired by scikit-learn (like Verde).

Files (4.8 MB)
Name Size
4.8 MB Download
All versions This version
Views 94481
Downloads 866
Data volume 402.2 MB29.1 MB
Unique views 77871
Unique downloads 786


Cite as