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

Improve pspm_trim to handle missing epoch files #696

Open
wants to merge 33 commits into
base: develop
Choose a base branch
from

Conversation

dominikbach
Copy link
Contributor

Fixes #569 .

Overview

pspm_split_sessions allows splitting an associated missing epochs file. This functionality could more easily be implemented in pspm_trim and would then allow users to also just trim a missing epochs file (a use case in a recent internal project).

Changes proposed in this pull request:

  • allow pspm_trim to trim a missing epochs file
  • use this functionality in pspm_split_sessions
  • improve pspm_trim by using core functions for creating indices
  • correct pspm_epochs2logical to ensure the index is not longer than the original epoch

No tests for the new feature are implemented - this should be fixed in a separate PR. At the moment, the new feature is indirectly tested via pspm_split_sessions_test.

@dominikbach dominikbach self-assigned this Apr 23, 2024
@dominikbach dominikbach added the In Progress Currently being worked on label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In Progress Currently being worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pspm_trim should allow trimming a related missing epochs file
2 participants