Filter out trajectories with few points. They are often spurious.
tracks : DataFrame
must include columns named ‘frame’ and ‘particle’
threshold : integer, default 100
minimum number of points (video frames) to survive
a subset of tracks