List of functions and classes (API)#
Kernel and forward modelling functions#
Here you will find the list of available kernel and forward modelling functions for gravity and magnetic fields generated by different type of sources.
Point sources and dipoles#
For point sources, dipoles and observation points defined in Cartesian coordinates.
Gravity#

Gravitational potential field due to a point source 

Easting component of the gravitational acceleration due to a point source 

Northing component of the gravitational acceleration due to a point source 

Upward component of the gravitational acceleration due to a point source 

Eastingeasting component of the gravitational tensor due to a point source 

Northingnorthing component of the gravitational tensor due to point source 

Upwardupward component of the gravitational tensor due to a point source 

Eastingnorthing component of the gravitational tensor due to point source 

Eastingupward component of the gravitational tensor due to point source 

Northingupward component of the gravitational tensor due to point source 
Magnetic#

Easting component of the magnetic field due to a dipole 

Northing component of the magnetic field due to a dipole 

Upward component of the magnetic field due to a dipole 

Magnetic field due to a dipole 
Kernels#

The inverse of the distance between the two points 

Easting component of the gradient of the inverse of the distance 

Northing component of the gradient of the inverse of the distance 

Upward component of the gradient of the inverse of the distance 

Second derivative of the inverse of the distance along eastingeasting 

Second derivative of the inverse of the distance along northingnorthing 

Second derivative of the inverse of the distance along upwardupward 

Second derivative of the inverse of the distance along eastingnorthing 

Second derivative of the inverse of the distance along eastingupward 

Second derivative of the inverse of the distance along northingupward 
Rectangular Prisms#
Gravity#

Gravitational potential field due to a rectangular prism 

Easting component of the gravitational acceleration due to a prism 

Northing component of the gravitational acceleration due to a prism 

Upward component of the gravitational acceleration due to a prism 

Eastingeasting component of the gravitational tensor due to a prism 

Northingnorthing component of the gravitational tensor due to a prism 

Upwardupward component of the gravitational tensor due to a prism 

Eastingnorthing component of the gravitational tensor due to a prism 

Eastingupward component of the gravitational tensor due to a prism 

Northingupward component of the gravitational tensor due to a prism 
Magnetic#

Magnetic field due to a rectangular prism 

Easting component of the magnetic field due to a prism 

Northing component of the magnetic field due to a prism 

Upward component of the magnetic field due to a prism 
Kernels#

Kernel for the potential field due to a rectangular prism 

Kernel for easting component of the gradient due to a rectangular prism 

Kernel for northing component of the gradient due to a rectangular prism 

Kernel for upward component of the gradient due to a rectangular prism 

Kernel for eastingeasting component of the tensor due to a prism 

Kernel for northingnorthing component of the tensor due to a prism 

Kernel for upwardupward component of the tensor due to a prism 

Kernel for eastingnorthing component of the tensor due to a prism 

Kernel for eastingupward component of the tensor due to a prism 

Kernel for northingupward component of the tensor due to a prism 
Utilities#
Euclidean distances#
Use these functions to compute Euclidean distance in Cartesian and spherical coordinates:

Euclidean distance between two points given in Cartesian coordinates 

Euclidean distance between two points in spherical coordinates 

Core computation of distance between two points in spherical coordinates 
Universal Constants#
Access universal physical constants given in SI units:
Gravitational constant \(G\) in SI units (\(m^3 kg^{1} s^{2}\)) 

Vacuum magnetic permeability \(\mu_0\) in SI units (\(NA^{2}\)) 