postprocessor.core.functions.tracks¶
Functions to process, filter and merge tracks.
Functions
|
Clean small non-growing tracks and return the reduced dataframe |
|
Get average growth rate for a track. |
|
Get average growth rate for a group of tracks |
|
Calculate a cost matrix the Hungarian algorithm to pick the best set of options |
|
Get all pair of contiguous track ids from a tracks dataframe. |
|
Calculate a cost matrix |
|
|
|
Get the pair of track (without repeats) that have a smaller error than the tolerance. |
|
Convert a series of merges into a dictionary where the key is the cell_id of destination and the value a list of the other track ids that were merged into the key |
|
|
|
|
|
|
|
|
|
|
|
|
|
Join pairs of tracks from later tps towards the start. |
|
Fetch then original ids from a nested list with joinable local_ids |
|
|
|
|
|
Join tracks that are contiguous and within a volume threshold of each other |
|
Convenience plotting function for debugging and data vis |
|
|
|
Solve the distance matrices obtained in get_dMetric and/or merged from independent dMetric matrices |
|
|
|
Solve cost matrix focusing on getting the smallest cost at each iteration. |