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

Loading timestamp for electrode in open e-phys #627

Open
cellywiththesticks opened this issue Sep 13, 2024 · 6 comments
Open

Loading timestamp for electrode in open e-phys #627

cellywiththesticks opened this issue Sep 13, 2024 · 6 comments

Comments

@cellywiththesticks
Copy link

Hi all,

I am trying to see what my timestamps looks like in open e-phys for electrode 10. My timestamp files is currently saved as an .npy . Any help will be greatly appreciated!

@jsiegle
Copy link
Member

jsiegle commented Sep 16, 2024

I'd recommend either using open-ephys-python-tools or open-ephys-matlab-tools to load the entire recording. That will automatically load the timestamps for each data stream.

You can also replay the recording in the GUI by dragging the structure.oebin file into the File Reader.

@cellywiththesticks
Copy link
Author

cellywiththesticks commented Sep 17, 2024 via email

@jsiegle
Copy link
Member

jsiegle commented Sep 17, 2024

What type of device did you use to record your data (e.g. Open Ephys Acquisition Board)? Depending on what you used, you may not need to do any additional synchronization.

@cellywiththesticks
Copy link
Author

cellywiththesticks commented Sep 17, 2024 via email

@jsiegle
Copy link
Member

jsiegle commented Sep 17, 2024

The timestamps are always relative to the time you started streaming data, not the time when you started recording. This is so if you start and stop recording multiple times while data continues to stream, all of the timestamps will be aligned to the same start time (i.e., you will know exactly how much time has elapsed between recordings). If you stop data streaming by pressing the "play" button, then the timestamps will reset to 0.

If the recording ends at 25 minutes, the last timestamp should be around 25 * 60 + 2000 = 3500 seconds. Is that what you see?

@cellywiththesticks
Copy link
Author

cellywiththesticks commented Sep 17, 2024 via email

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

2 participants