Dgrid_zone

pylayers.antprop.loss.Dgrid_zone(zone, Px)[source]

Distance point to zone

A zone is a quadrilateral zone.

zonedictionnary

xmin xmax Nx ymin ymax Ny

Pxnp.array

point

Dnp.array Nx x Ny

Euclidian distance matrix

Build the distance matrix between Tx and points in the zone

use broadcasting instead