Description Usage Arguments Value
View source: R/SpikeExtraction.R
This loop for each channel of a tetrode, detect the spikes by calling detectSpikesFromTrace(). The spikes occurring almost simultaneously on different channels are merged with mergeSimultaneousSpikes(). Assumes any low frequency components were filtered out before calling this function.
| 1 2 3 | detectSpikesTetrodes(data, samplingRate, powerWindowSizeMs, powerWindowSlideMs,
  SDThreshold, simultaneousSpikeMaxJitterMs, spikeDetectionRefractoryMs,
  noDetectionBeginEndMs = 0.5)
 | 
| data | Matrix containing the spikes and some noise, one channel per column | 
| samplingRate | Sampling rate of the trace | 
| powerWindowSizeMs | Window size when calculating power (root mean square) | 
| powerWindowSlideMs | Shift of the window in ms between estimation of power | 
| SDThreshold | Power threshold for spike detection. | 
| simultaneousSpikeMaxJitterMs | Use to join spikes detected across tetrode as near the same time | 
| spikeDetectionRefractoryMs | Refractory period in spike detection on a single channel | 
| noDetectionBeginEndMs | Period at beginning and end of trace where nothin is detected because we can't get the waveform | 
list containing the spikeTimes and powerThreshold
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.