We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SpikeSortingLoader has a method that gives a mapping from frame indices in raw recording to timestamps used for spike sorting, etc.
Maybe Mayo can send explicit code
The text was updated successfully, but these errors were encountered:
@mayofaulkner Would you be so kind as to copy/paste a code segment here showing how to get the synchronized frame to global timestamp mapping?
Sorry, something went wrong.
Here is a snippet that shows how you can get the raw data timestamps
from brainbox.io.one import SpikeSortingLoader from one.api import ONE import numpy as np one = ONE() ssl = SpikeSortingLoader(pid=pid, one=one) sr_ap = ssl.raw_electrophysiology(band="ap", stream=True) sr_times = ssl.samples2times(np.arange(0, sr_ap.ns), direction='forward')
CodyCBakerPhD
Successfully merging a pull request may close this issue.
SpikeSortingLoader has a method that gives a mapping from frame indices in raw recording to timestamps used for spike sorting, etc.
Maybe Mayo can send explicit code
The text was updated successfully, but these errors were encountered: