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

[Fiber photometry] Add fiber photometry time alignment #22

Open
wants to merge 2 commits into
base: FiberPhotometry/add-behavior
Choose a base branch
from

Conversation

weiglszonja
Copy link
Collaborator

Set aligned starting time for the fiber photometry, video and DLC interfaces.

Time alignment notes:

Align TTL signals to Raw Bpod trial times:
Compute the time shift from global CPin timestamps ("TrialStartTimestamp" + "CPin") to the Doric CPin timestamps.
The Doric CPin timestamps can be obtained from one of the digital signals ("DigitalIO/DIO02" in .doric file, "DI/O-2" in .csv file).

Use the time shift to shift the starting time of fiber photometry, video and DLC interfaces.

@weiglszonja weiglszonja changed the title Add fiber photometry time alignment [Fiber photometry] Add fiber photometry time alignment Nov 20, 2024
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.

1 participant