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

Limit spikesorting artifacts to valid timestamps #1196

Merged
merged 2 commits into from
Nov 26, 2024
Merged

Limit spikesorting artifacts to valid timestamps #1196

merged 2 commits into from
Nov 26, 2024

Conversation

samuelbray32
Copy link
Collaborator

@samuelbray32 samuelbray32 commented Nov 26, 2024

Description

Fixes #1176

  • In artifact detection, clip intervals going past the valid timestamps to the last valid timepoint
  • prevents error when artifact interval window buffer goes past the end of the timestamps

Checklist:

  • N This PR should be accompanied by a release: (yes/no/unsure)
  • NA If release, I have updated the CITATION.cff
  • N This PR makes edits to table definitions: (yes/no)
  • NA If table edits, I have included an alter snippet for release notes.
  • NA If this PR makes changes to position, I ran the relevant tests locally.
  • I have updated the CHANGELOG.md with PR number and description.
  • NA I have added/edited docs/notebooks to reflect the changes

@samuelbray32 samuelbray32 marked this pull request as ready for review November 26, 2024 17:39
@edeno edeno merged commit 6faed4c into master Nov 26, 2024
17 checks passed
@edeno edeno deleted the 1176_fix branch November 26, 2024 23:46
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.

index error during artifact detection
2 participants