Dgrid_points

pylayers.antprop.loss.Dgrid_points(points, Px)[source]

distance point to grid

pointsnp.array

grid Np x 2 array

Pxnp.array

point 2 x 1 array

D: Euclidian distance matrix