identifySpikeTimes: Detect spike times using filtered signal and root mean square...

Description Usage Arguments Value

View source: R/SpikeExtraction.R

Description

Detect spike times using filtered signal and root mean square arrays

Usage

1
2
identifySpikeTimes(dataf, power, powerWindowSize, powerWindowSlide,
  powerThreshold, spikeDetectionRefractory)

Arguments

dataf

Filtered brain signal from one channel

power

Power in sliding time windows in samples

powerWindowSize

Size of the power window in samples

powerWindowSlide

Amount of shift in the power window between subsequent power estimates in samples

powerThreshold

Threshold used to detect spikes

spikeDetectionRefractory

Refractory period in spike detection in samples

Value

Matrix containing spike times and negative peak value of the spike. The spike times are in sample index starting at index 0.


kevin-allen/relectro documentation built on May 20, 2019, 9:06 a.m.