trackpy.filtering

Simple functions that eliminate spurrious trajectories by wrapping pandas group-by and filter capabilities.

Functions

bust_clusters(tracks[, quantile, threshold])

Filter out trajectories with a mean particle size above a given quantile.

bust_ghosts(tracks[, threshold])

Filter out trajectories with few points.

filter(tracks, condition_func)

A workaround for a bug in pandas 0.12

filter_clusters(tracks[, quantile, threshold])

Filter out trajectories with a mean particle size above a given quantile.

filter_stubs(tracks[, threshold])

Filter out trajectories with few points.