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

Add a function to truncate NWB ElectricalSeries. #96

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

DailyDreaming
Copy link
Member

Just for local files.

@surygeng
Copy link
Contributor

surygeng commented Aug 12, 2024

Can you change the input "seconds" to [start_second, end_second]? This way, the function can break down a long recording to smaller chunks. For trimming, we just set the "start_second" to the desired starting point and "end_second" to the end of the recording. We could use ":" to indicate the end of the recording since user doesn't need to know the recording length.

@DailyDreaming
Copy link
Member Author

@surygeng Breaking up an NWB file into smaller files sounds like a different function, and I think probably a different PR from this one?

@DailyDreaming DailyDreaming merged commit f578065 into master Aug 12, 2024
0 of 6 checks passed
@DailyDreaming DailyDreaming deleted the truncate-nwb branch August 12, 2024 22:34
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