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

Remove spikes from spiketrains #2838

Open
Antho2422 opened this issue May 13, 2024 · 0 comments
Open

Remove spikes from spiketrains #2838

Antho2422 opened this issue May 13, 2024 · 0 comments

Comments

@Antho2422
Copy link
Contributor

Hi there,

I am trying to analyze data that I did not sorted myself. I just have the recording and Phy folder outputs to get the sortings.

I also have "bad_periods" being tuples (start_sample, end_sample) of periods that I want to extract from the spike trains. The sorting has been done with those periods so I cannot use the silence_periods() function on the recording.

My question is the following: What is the most efficient way to remove the spikes falling in those "bad_periods" ? Is there a function to do that and if not, how should I proceed ?

Thanks,

Anthony

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

1 participant