py_eddy_tracker.observations.groups.particle_candidate_step

py_eddy_tracker.observations.groups.particle_candidate_step(t_start, contours_start, contours_end, space_step, dt, c, day_fraction=6, **kwargs)[source]

Select particles within eddies, advect them, return target observation and associated percentages. For one time step.

Parameters:
  • t_start (int) – julian day of the advection

  • contours_start ((np.array(float),np.array(float))) – origin contour

  • contours_end ((np.array(float),np.array(float))) – destination contour

  • space_step (float) – step between 2 particles

  • dt (int) – duration of advection

  • c (GridCollection) – GridCollection with speed for particles

  • day_fraction (int) – fraction of day

Params dict kwargs:

dict of params given to advection

Return (np.array,np.array):

return target index and percent associate