API Reference
Contents
API Reference¶
Gravity Corrections¶
|
Gravitational effect of topography using a Bouguer plate approximation |
For the Normal Earth correction, see package boule
.
Grid Transformations¶
Apply well known transformations regular gridded potential fields data.
|
Calculate the derivative of a potential field grid in the upward direction |
Frequency domain filters¶
Define filters in the frequency domain.
|
Filter for upward derivative in frequency domain |
Use xrft.xrft.fft
and xrft.xrft.ifft
to apply Fast-Fourier
Transforms and its inverse on xarray.DataArray
.
Equivalent Sources¶
|
Equivalent sources for generic harmonic functions (gravity, magnetics). |
|
Gradient-boosted equivalent sources for generic harmonic functions. |
|
Equivalent sources for generic harmonic functions in spherical coordinates |
Forward modelling¶
|
Compute gravitational fields of point masses. |
|
Gravitational fields of right-rectangular prisms in Cartesian coordinates |
|
Compute gravitational field of tesseroids on computation points. |
|
Create a layer of prisms of equal size |
|
Defines dataset accessor for layer of prisms |
Isostatic Moho¶
|
Calculate the isostatic Moho depth using Airy's hypothesis. |
|
Calculate the isostatic Moho depth from topography using Airy's hypothesis. |
Warning
The harmonica.isostasy_airy
function will be deprecated in
Harmonica v0.6. Please use harmonica.isostatic_moho_airy
instead.
Input and Output¶
|
Reads data from an ICGEM .gdf file. |
Visualization¶
|
Create a |
Synthetic models and surveys¶
Warning
The harmonica.synthetic
module will be deprecated in Harmonica
v0.6.0
|
Create measurement locations for a synthetic airborne survey |
|
Create measurement locations for a synthetic ground survey |
Datasets¶
Warning
The harmonica.datasets
module and every sample dataset a will be
deprecated in Harmonica v0.6.0. The examples and the user guide will
transition to using Ensaio (https://www.fatiando.org/ensaio/) instead.
Warning
The harmonica.datasets
module will be deprecated in Harmonica
v0.6.0
The absolute path to the sample data storage location on disk. |
|
Fetch a global grid of Earth gravity. |
|
Fetch a global grid of the geoid height. |
|
Fetch a global grid of Earth relief (topography and bathymetry). |
|
Fetch total-field magnetic anomaly data of Great Britain. |
|
Fetch gravity station data from South Africa |