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

[Neuropixels] Add temporal alignment #21

Merged
merged 3 commits into from
Nov 19, 2024
Merged

Conversation

weiglszonja
Copy link
Collaborator

@weiglszonja weiglszonja commented Nov 5, 2024

First merge #20
Set aligned starting time for recording and sorting interfaces.

Time alignment notes:
Align TTL signals to Raw Bpod trial times:
Compute the time shift from raw Bpod trial start times ("TrialStartTimestamp") to the aligned center port timestamps.
The aligned center port times can be accessed from the processed behavior data using the "Cled" field.

Use the time shift to shift the starting time of recording interfaces.

@weiglszonja
Copy link
Collaborator Author

weiglszonja commented Nov 6, 2024

The example file is the same as in #20

@weiglszonja weiglszonja self-assigned this Nov 13, 2024
Base automatically changed from add_processed_behavior_to_other_trials to main November 15, 2024 12:09
Copy link

@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.

LGTM

@weiglszonja weiglszonja merged commit ddf358b into main Nov 19, 2024
@weiglszonja weiglszonja deleted the time_alignment_neuropixels branch November 19, 2024 09:55
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