API Reference#
Harmonica: Processing and modelling gravity and magnetic data.
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 regular grid in the easting direction. |
|
Calculate the derivative of a regular grid in the northing direction. |
|
Calculate the derivative of a potential field grid in the upward direction. |
|
Calculate the upward continuation of a potential field grid. |
|
Calculate the Gaussian low-pass of a potential field grid. |
|
Calculate the Gaussian high-pass of a potential field grid. |
|
Calculate the reduction to the pole of a magnetic field grid. |
|
Calculate the total gradient amplitude of a potential field grid. |
|
Calculate the tilt angle of a potential field grid. |
Frequency domain filters#
Define filters in the frequency domain.
|
Filter for easting derivative in frequency domain. |
|
Filter for northing derivative in frequency domain. |
|
Filter for upward derivative in frequency domain. |
|
Filter for upward continuation in frequency domain. |
|
Filter for Gaussian low-pass in frequency domain. |
|
Filter for Gaussian high-pass in frequency domain. |
|
Filter for reduction to the pole in the 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#
Gravity fields:
|
Compute gravitational fields of point masses. |
|
Gravitational fields of right-rectangular prisms in Cartesian coordinates. |
|
Compute gravitational field of tesseroids on computation points. |
Magnetic fields:
|
Magnetic field of dipoles in Cartesian coordinates. |
|
Magnetic field of right-rectangular prisms in Cartesian coordinates. |
Layers and meshes:
|
Create a layer of prisms of equal size. |
|
Create a layer of tesseroids of equal size. |
|
Defines dataset accessor for layer of prisms. |
|
Define dataset accessor for layer of tesseroids. |
Isostatic Moho#
|
Calculate the isostatic Moho depth using Airy's hypothesis. |
Source position estimation#
|
Estimate source location and base level using Euler Deconvolution. |
Spherical Harmonics#
|
International Geomagnetic Reference Field (14th generation). |
Input and Output#
|
Read data from an ICGEM .gdf file. |
|
Read gridded data from an Oasis Montaj© .grd file. |
Visualization#
|
Create a |
Utilities#
|
Convert magnetic field vector to magnetic field angles. |
|
Convert magnetic field angles to magnetic field vector. |
|
Compute the total field anomaly from the anomalous magnetic field. |