-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add behavior data loading method with event timestamp processing
- Implemented the method to load behavior data from a CSV file into a pandas DataFrame. - The method processes each row to extract timestamps, events, and calculates frame numbers based on recording time and fps. - Mark types are determined based on the event description, distinguishing between 'event_start' and 'event_end'. - Data is stored in the with frame number and mark type as keys, and relevant behavior, subject, and trial time information as values.
- Loading branch information
1 parent
47b3afe
commit 1edde66
Showing
1 changed file
with
54 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters