filter_tracks

lumicks.pylake.filter_tracks

filter_tracks(tracks, minimum_length)

Remove tracks shorter than a minimum number of time points from the list.

This can be used to enforce a minimum number of frames a spot has to be detected in order to be considered a valid track.

Parameters
  • tracks (List[KymoTrack]) – Detected tracks on a kymograph.

  • minimum_length (int) – Minimum length for the track to be accepted.