xoa.core.filter.get_decimate_arg

xoa.core.filter.get_decimate_arg#

xoa.core.filter.get_decimate_arg(lons, lats, radius)[source]#

Get which point to keep to make sure they are enough distant of one another

A loop is made on all points: a point that is at a distance less that radius from a point that was previously marked as True is marked as False.

Parameters:
Returns:

numpy.array – 1D array of boolean with True set for the points to keep

See also

xoa.core.geo.haversine, xoa.filter.decimate