shoot.eddies.eddies3d.Associate#
- class shoot.eddies.eddies3d.Associate(parent_eddies, new_eddies, max_distance=10)[source]#
Associate eddies between vertical levels based on spatial proximity
Uses the Hungarian algorithm (linear sum assignment) to match eddies between a parent level and a new level based on distance and eddy type.
- Parameters:
- cost#
Cost matrix for eddy association (cached property).
- Type:
ndarray
Methods
order()search_dist(eddyj, eddyi)Attributes
Cost function between each eddy pair