py_eddy_tracker.observations.observationΒΆ

Base class to manage eddy observation

Functions

grid_box_stat

Compute method on each set (one set by box)

grid_count_

Add one to each index

grid_count_pixel_in

Count how many time a pixel is used.

grid_stat

Compute the mean or the max of the grid for each contour

insidepoly

True for each postion inside a contour

numba_where

Usefull when mask is close to be empty

poly_indexs

index of contour for each postion inside a contour, -1 in case of no contour

shifted_ellipsoid_degrees_mask2

Work only if major is an array but faster * 6

sum_row_column

Compute sum on row and column at same time

Classes

EddiesObservations

Class to store eddy observations.

VirtualEddiesObservations

Class to work with virtual obs