writeParTetrodeFile: Write the par file for each tetrode

Description Usage Arguments Details

View source: R/SpikeExtraction.R

Description

This is a legacy file created by Csicsvari detection programs relectro don't use it but it is useful if manual clustering is done with kluster or sgclust5b

Usage

1
writeParTetrodeFile(rs, res, fet, tetrodeNumber)

Arguments

rs

RecSession object

res

Numeric with the time stamps of the spikes in sample value

fet

Matrix with spike features, one spike per row

tetrodeNumber

Tetrode number

Details

Here is an example 16 4 50 # total number of electrodes, number of electrodes for this group, sampling interval (in microseconds) 0 1 2 3 # electrode IDs 10 2 # refractory sample index after detection, RMS integration window length 90 # approximate firing frequency in Hz 16 8 # number of samples in each waveform, sample index of the peak 12 6 # window length to realign the spikes, sample index of the peak (detection program) 4 4 # number of samples (before and after the peak) to use for reconstruction and features 3 16 # number of principal components (features) per electrode, number of samples used for the PCA 800. # high pass filter frequency (in Hz)


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