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 behavior signals (velocity and binary: lick, light, tone, reward) and camera recording #7

Merged
merged 9 commits into from
Jul 1, 2024

Conversation

weiglszonja
Copy link
Collaborator

@weiglszonja weiglszonja commented Jun 17, 2024

Behavior source data:

Add custom interface for behavior:

  • velocity signals (roll, pitch and yaw)
  • binary signals (lick, light, tone, reward)

all velocity signals are in m/s, "yaw" velocity is converted to radians/s using the code from Howe lab
Reference: https://zenodo.org/records/10272874 from ball2xy.m

"yaw" velocity is in radians/s, "pitch" and "roll" velocities are in m/s and are all stored in TimeSeries objects;
the binary signals are added as TimeIntervals after getting the onset and offset times

Also adds the behavorial camera recording using VideoInterface and adds it as external ImageSeries

@weiglszonja weiglszonja changed the title Add behavior Add behavior signals (velocity and binary: lick, light, tone, reward) Jun 17, 2024
@weiglszonja weiglszonja mentioned this pull request Jun 17, 2024
17 tasks
@weiglszonja weiglszonja self-assigned this Jun 17, 2024
@weiglszonja weiglszonja changed the title Add behavior signals (velocity and binary: lick, light, tone, reward) Add behavior signals (velocity and binary: lick, light, tone, reward) and camera recording Jun 18, 2024
@weiglszonja
Copy link
Collaborator Author

GridDL-18_211110.nwb

Copy link
Contributor

@alessandratrapani alessandratrapani left a comment

Choose a reason for hiding this comment

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

Looks good!

@weiglszonja weiglszonja merged commit 4c51b52 into main Jul 1, 2024
@weiglszonja weiglszonja deleted the add_behavior branch July 1, 2024 11:02
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