Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.
Srinivas Gorur-Shandilya edited this page May 21, 2020 · 3 revisions

How to eliminate spikes that are actually spikes on another nerve

Use pruneSpikes

Example usage:

self.pruneSpikes('pdn/PD',2e-2)

How to automate pruneSpikes

Spike pruning can be automated using PostPredictActions

For example, to eliminate PD spikes from lvn, use:

self.PostPredictAction = crabsort.postPredictAction('lvn',@self.pruneSpikes,{'pdn/PD',2e-2})