plotSpikeDetectionSegment: Plot the raw traces of a tetrode together with spike times of...

Description Usage Arguments Details

Description

This function can be used to visualise the detected spikes on the raw traces. Use this to get a qualitative impression of the spike detection.

Usage

1
2
3
4
plotSpikeDetectionSegment(rs, df, tetrodeNo = 1, minPassHz = 800,
  maxPassHz = 8000, firstSample = 0, lastSample = 5000, addSpikes = NA,
  powerWindowSizeMs = 0.3, powerWindowSlideMs = 0.1, SDThreshold = 2.25,
  spikeDetectionRefractoryMs = 0.5)

Arguments

rs

RecSession object

df

DatFiles object

tetrodeNo

Numeric indicating the Tetrode number

minPassHz

Min frequency for the band pass filter

maxPassHz

Max frequency for the band pass filter

firstSample

First sample to display

lastSample

Last sample to display

addSpikes

Numeric containing spikes as a comparison for spikes in .res.tetrodeNo file.

powerWindowSizeMs

Power window

powerWindowSlideMs

Slide of the power window.

SDThreshold

Power threshold

spikeDetectionRefractoryMs

Refractory in the spike detection

Details

Filtering might create some artefacts at the very beginning and end of traces.


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