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

Add motion series from eztrack #9

Merged
merged 2 commits into from
Oct 21, 2024
Merged

Conversation

alessandratrapani
Copy link
Collaborator

@alessandratrapani alessandratrapani commented Oct 21, 2024

Add MotionSeries to the behavioral module and link it to the FreezingTimeInterval table

@alessandratrapani alessandratrapani self-assigned this Oct 21, 2024
@alessandratrapani alessandratrapani changed the base branch from main to add_behavior October 21, 2024 10:22
Base automatically changed from add_behavior to main October 21, 2024 14:17
Copy link
Collaborator

@h-mayorquin h-mayorquin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.


## Figures to reproduce in the example notebook:
1) ![img.png](assets/motion_freezing_across_session.png)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea,

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will add other for the segmentation data on this PR #7

description="ezTrack measures the motion of the animal by assessing the number of pixels of the behavioral "
"video whose grayscale change exceeds a particular threshold from one frame to the next.",
data=motion_data,
unit="n.a",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably can get that from the method but maybe not worth it, should be something like pixel divided by time.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following best practice it should be S.I. unit, I am not sure there is one for this case

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. "a.u." atribtrary unit could work as well I guess.

@alessandratrapani alessandratrapani merged commit 459310d into main Oct 21, 2024
@h-mayorquin h-mayorquin deleted the add_motion_series_EZtrack branch October 21, 2024 15:58
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

Successfully merging this pull request may close these issues.

2 participants