Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time Spent in ROI Issue #22

Open
honesvic opened this issue Nov 23, 2022 · 0 comments
Open

Time Spent in ROI Issue #22

honesvic opened this issue Nov 23, 2022 · 0 comments

Comments

@honesvic
Copy link

Hi there. I am using the time_in_ROI.py to analyze open field behavior of rats with DLC markers. Specifically, i am looking at the time spent in the center of the open field. My only ROI is the "center" box. When i run the code that outputs the time spent in the ROIs, i get odd number for the [avg_time_in_roi_sec] variable. The numbers for the time spent in the center are unrealistically high and do not match the animals movement. I attached a plot of the animal's "back" marker distance from the center. You can see that the [avg_time_in_roi_sec] variable outputs about 145 seconds, while the animal barely enters the center (the "center" box is about 80 pixels in either direction of the center). All other output variables from time_in_ROI.py match the animals behavior. I appreciate the help! - Victoria
Screen Shot 2022-11-23 at 14 47 23
Screen Shot 2022-11-23 at 3 01 22 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant