postprocessor.core.functions.tracks.merge_tracks

merge_tracks(tracks, drop=False, **kwargs)[source]

Join tracks that are contiguous and within a volume threshold of each other

Parameters
  • tracks – (m x n) dataframe where rows are cell tracks and columns are timepoints

  • kwargs – args passed to get_joinable

returns

Joint_tracks

(m x n) Dataframe where rows are cell tracks and columns are timepoints. Merged tracks are still present but filled with np.nans.

Return type

Tuple[DataFrame, Collection]