py_eddy_tracker.generic.bbox_indice_regular¶
-
py_eddy_tracker.generic.
bbox_indice_regular
(vertices, x0, y0, xstep, ystep, N, circular, x_size)[source]¶ Get bbox indice of a contour in a regular grid.
- Parameters
vertices – vertice of contour
x0 (float) – first grid longitude
y0 (float) – first grid latitude
xstep (float) – step between two longitude
ystep (float) – step between two latitude
N (int) – shift of index to enlarge window
circular (bool) – To know if grid is wrappable
x_size (int) – Number of longitude