choclo.point.kernel_e

Contents

choclo.point.kernel_e#

choclo.point.kernel_e(easting_p, northing_p, upward_p, easting_q, northing_q, upward_q, distance)[source]#

Easting component of the gradient of the inverse of the distance

Important

The coordinates of the two points must be in Cartesian coordinates and have the same units.

Parameters:
easting_pfloat

Easting coordinate of point p.

northing_pfloat

Northing coordinate of point p.

upward_pfloat

Upward coordinate of point p.

easting_qfloat

Easting coordinate of point q.

northing_qfloat

Northing coordinate of point q.

upward_qfloat

Upward coordinate of point q.

distancefloat

Euclidean distance between points p and q.

Returns:
kernelfloat

Value of the kernel function.

Notes

Given two points p=(xp,yp,zp) and q=(xq,yq,zq) defined in a Cartesian coordinate system, compute the following kernel function:

kx(p,q)=x(1pq2)=xpxqpq2

where 2 refer to the L2 norm (the Euclidean distance between p and q).