postprocessor.core.functions.tracks.clean_tracks¶
- postprocessor.core.functions.tracks.clean_tracks(tracks, min_len: int = 15, min_gr: float = 1.0) DataFrame ¶
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 number of timepoints cells must have not to be removed
min_gr – float Minimum mean growth rate to assume an outline is growing