postprocessor.core.functions.tracks.clean_tracks

clean_tracks(tracks, min_len=15, min_gr=1.0)[source]

Clean small non-growing tracks and return the reduced dataframe

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

  • min_len (int) – int number of timepoints cells must have not to be removed

  • min_gr (float) – float Minimum mean growth rate to assume an outline is growing

Return type

DataFrame