choclo.point.kernel_pot#
- choclo.point.kernel_pot(easting_p, northing_p, upward_p, easting_q, northing_q, upward_q, distance)[source]#
The inverse of the distance between the two points
Important
The coordinates of the two points must be in Cartesian coordinates and have the same units.
- Parameters:
easting_p (float) – Easting coordinate of point
.northing_p (float) – Northing coordinate of point
.upward_p (float) – Upward coordinate of point
.easting_q (float) – Easting coordinate of point
.northing_q (float) – Northing coordinate of point
.upward_q (float) – Upward coordinate of point
.distance (float) – Euclidean distance between points
and .
- Returns:
kernel (float) – Value of the kernel function.
Notes
Given two points
and defined in a Cartesian coordinate system, compute the following kernel function:where
refer to the norm (the Euclidean distance between and ).