Questions tagged [trackpy]

Tag for questions related to the `trackpy` software package

Trackpy is a package for finding blob-like features in video, tracking them through time, and analyzing their trajectories. It implements and extends the widely-used Crocker–Grier algorithm in Python.

There are many similar projects. (See table below.) Our implementation is distinguished by succinct and flexible usage, a thorough testing framework ensuring code stability and accuracy, scalability, and thorough documentation.

Documentation homepage

22 questions
0
votes
1 answer

Particle tracking with trackpy gives 'keframe' error?

I have tiff image stacks of 1000 frames in which I'm trying to track particles diffusing in Brownian motion. So I'm using trackpy for particle tracking: import the tiff stack, locate the features (particles) and then plot their trajectories. I'm…
Arti Tyagi
  • 11
  • 4
0
votes
1 answer

Why does Trackpy give me an error when I try to compute the overall drift speed?

I'm going through the Trackpy walkthrough (http://soft-matter.github.io/trackpy/v0.3.0/tutorial/walkthrough.html) but using my own pictures. When I get to calculating the overall drift velocity, I get this error and I don't know what it means:drift…
0
votes
1 answer

Trackpy: How to remove unwanted particles

I have an image that I want to detect bright spots. I can detect particles according to the characteristics I want. but when linking these particles I found, I can't eliminate unwanted particles. The line of code that detects the particles is as…
0
votes
1 answer

How to find out where in the image a subnet oversize exception occurs?

I am trying to link coordinates I extracted from some image time series with a custom coordinate finding algorithm. In the second step there is a problem: trackpy.linking.utils.SubnetOversizeException: Subnetwork contains 35 points I interpret this…
smcs
  • 1,772
  • 3
  • 18
  • 48
0
votes
1 answer

How do I change the Matplotlib axis limits for a plot given by a specific library(trackpy)?

This function gives me a plot. However I want to change the default axis. It says in documentation that ax refers to: ax : matplotlib axes object, optional. I tried to input the axis limit as ax=([0 100 0 500]) for example but it recognizes it as a…
0
votes
1 answer

Python Windows 10 64bit - FFMPEG for trackpy

Similar problem to 'Python Moviepy installation problems (windows 7x64)' except the solution provided did not work. I have windows 10, 64bit. Every time I attempt to run the following line of code: frames = pims.Video('exp9_short.avi') I get the…
Cam K
  • 127
  • 2
  • 2
  • 13
0
votes
0 answers

Python trackpy attribute error

I'm trying to use the python library trackpy to trace some particles of wax. At the beginning of my code when I import the necessary libraries, import numpy as np import pandas as pd from pandas import DataFrame, Series # for convenience import…
1
2