py_eddy_tracker.observations.groups.particle_candidate¶
- py_eddy_tracker.observations.groups.particle_candidate(c, eddies, step_mesh, t_start, i_target, pct, contour_start='speed', contour_end='effective', **kwargs)[source]¶
Select particles within eddies, advect them, return target observation and associated percentages
- Parameters:
c (GridCollection) – GridCollection with speed for particles
eddies (GroupEddiesObservations) – GroupEddiesObservations considered
t_start (int) – julian day of the advection
i_target (np.array(int)) – corresponding obs where particles are advected
pct (np.array(int)) – corresponding percentage of avected particles
contour_start (str) – contour where particles are injected
contour_end (str) – contour where particles are counted after advection
- Params dict kwargs:
dict of params given to advect