Software Open Access

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

Soler, Santiago R.; Uieda, Leonardo; Oliveira Jr, Vanderlei C; Shea, Nicholas; Pesce, Agustina

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.7 MB)
Name Size
4.7 MB Download
All versions This version
Views 38288
Downloads 5214
Data volume 241.6 MB65.6 MB
Unique views 32680
Unique downloads 4714


Cite as