APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Is it possible to track separate "fields" at the same time? post and replies

Return to the Is it possible to track separate "fields" at the same time? thread
Login to post to this thread

Is it possible to track separate "fields" at the same time?
Christina Keathely
2 Posts

I have some recordings of a fish swimming in an open field test. It's a top down view of the fish swimming in an open area. The fish enters the field from the right hand side and is allowed to explore for roughly ten minutes. There are two things I would love help on:

1. Fields or Regions

I would like to create 4 "fields" or "regions" that track separately depending on if the fish enters them. For instance, the 4 regions would break the tank into 4 columns to track the amount of time spent in each region in relation to the entry point. Is it possible to do this? Or, would it be better to divide the data up by distance after exporting?

2. Stopping and Starting

The fish frequently exits the arena and returns to its starting location. I only want to track the fish while in the arena. If I don't mark the fish while outside of my desired area, Tracker will assume it has stopped moving, correct? Is there a way to "pause" a point mass and then start it again?


Replies to Is it possible to track separate "fields" at the same time?

Re: Is it possible to track separate "fields" at the same time? -
Douglas Brown Avatar
Douglas Brown
416 Posts

I can't see any way for Tracker to do this automatically. But certainly if you mark all the fish positions of interest and then open the data in Data Tool, or export the data to a spreadsheet, you can identify when it is in a given region. You can determine the time in each region simply by multiplying the number of points in the region by the time step.

If there are frames where you don't mark the position that's not a problem. Tracker doesn't assume that it's "paused", it just has blank cells and data gaps in the tables and plots.

If you want to have fun try writing a Data Function (in Data Builder) called "region" that outputs the column number (or quadrant) for a given x and y position ;-)  It's pretty easy using "if" statements--check out Data Builder in Tracker Help.  Doug

> 1. Fields or Regions
>
> I would like to create 4 "fields"
> or "regions" that track separately depending on if
> the fish enters them. For instance, the 4 regions
> would break the tank into 4 columns to track the amount
> of time spent in each region in relation to the entry
> point. Is it possible to do this? Or, would it be
> better to divide the data up by distance after exporting
>
>
> 2. Stopping and Starting
>
> The fish frequently exits
> the arena and returns to its starting location. I
> only want to track the fish while in the arena. If
> I don't mark the fish while outside of my desired
> area, Tracker will assume it has stopped moving, correct?
> Is there a way to "pause" a point mass and then start
> it again?



Re: Is it possible to track separate "fields" at the same time? -
Christina Keathely
2 Posts

Thank you! That was very helpful!



Re: Is it possible to track separate "fields" at the same time? -
Casana Adams
1 Posts

I can also say that writing an essay and any other written work is one of the biggest challenges for me in the process of studying in college. And so I turn to cheapest custom writing for help and pay someone to write my assignment. This saves me a lot of time and at the same time I now have excellent academic performance.



OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book