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 convenience functions #12

Open
rly opened this issue Aug 4, 2023 · 0 comments
Open

Add convenience functions #12

rly opened this issue Aug 4, 2023 · 0 comments

Comments

@rly
Copy link
Owner

rly commented Aug 4, 2023

For Loren Frank lab's usage of event data, it would be helpful to have helper functions that:

  1. Extract the DIO state at any given time. In other words, given a time and an event type, is the time during an event?
  2. Transform event with duration data into onset times (data=1's) and offset times (data=0's)
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