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

State script file to unix timeframe #927

Open
CBroz1 opened this issue Apr 11, 2024 · 2 comments
Open

State script file to unix timeframe #927

CBroz1 opened this issue Apr 11, 2024 · 2 comments
Assignees
Labels
common enhancement New feature or request

Comments

@CBroz1
Copy link
Member

CBroz1 commented Apr 11, 2024

State script files are currently in trodes time frame. A user requested they migrate to unix timestamps

@CBroz1 CBroz1 added the enhancement New feature or request label Apr 11, 2024
@samuelbray32 samuelbray32 self-assigned this Apr 12, 2024
@samuelbray32
Copy link
Collaborator

The information for this is in sample_counts in the original nwb file, which links trodes timestamps to a unix time. Making a function to lookup there would be pretty straightforward.

Is there a particular table where this would be a good method for?

@edeno
Copy link
Collaborator

edeno commented Apr 12, 2024

I assume on the table: spyglass.common.StateScriptFile. @acomrie, @MichaelCoulter do you have an opinion?

@edeno edeno added the common label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants