4
$\begingroup$

I have two animal running trajectories. A regular one with repeated back and forth running between point A and B, like the one on top in the figure. The other one is very irregular, animal paused and turned around a lot in the middle. Is there any algorithm to measure the regularity of a trajectory, like repeated activity on the top? And compare the extend of regularity between the two trajectories? Thanks in advance. enter image description here

$\endgroup$
  • 2
    $\begingroup$ are you trying to see if an animal runs in the same pattern over and over again? I know there are computer programs that use a camera to watch a mouse and plot its movement over time. This is used to measure mouse activity when you can't have a human watch it 24/7. You might be able to overlay the paths and get an average and standard deviation, but I don't really know much about it. $\endgroup$ – user137 Aug 1 '14 at 5:36
6
$\begingroup$

In the world of physics, you can distinguish between random motion (e.g. thermal Brownian walk) and directed motion (called ballistic: think of a cannon ball) by studying the mean square displacement of the object: you'll be able to fit this displacement as a function of time by a linear law if it is random, and by a quadratic one if it is directed. Exponents in between will give you an indication of the degree of randomness. The advantage of this (even if it is not specialized for your case) is that there's a large body of work using this, including for living organisms.

Note also that if your motion is as in the first case above, you'll have ballistic motion for times smaller than the travel time from left to right, and diffusive (random) for times larger than that. This has been used e.g. to analyse the run-and-tumble motion of bacteria who have a short-time ballistic motion and then after some time tumble to explore another randomly-chosen direction.

Example of this type of coexistence of two regimes:

http://ej.iop.org/images/0953-8984/25/41/415102/Full/cm476063f4_online.jpg

In the field of biophysics, much of this was initiated by Howard Berg and coworkers

In your first case, you'll have an initial ballistic regime and then something that plateaus (because you stay between A and B). The transition time-lag will be the travel time between A and B.

In your second case, you'll be able to characterize the random walk: if the animal is aiming at going from A to B but randomly errs for short times, you'll have a short-time diffusive behaviour, and an intermediate time ballistic one. (And then again a plateau, as in the first case and for the same reasons). If the animal reaches B by mere chance, on the contrary, you'll have a diffusive regime only before this plateau.

$\endgroup$
  • $\begingroup$ I guess what you suggested is more applicable in 2-D situations. In my case, displacement in Y-axis is very small most of the time. $\endgroup$ – sgyf Aug 4 '14 at 4:04
  • $\begingroup$ @sgyf: It is valid in any dimension. Use only the x-direction displacement if y-direction is irrelevant. $\endgroup$ – Joce Aug 5 '14 at 8:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.