mcd.read.spikes: Creates s object from txt data file exported from MCD file...

View source: R/mcd_mea.R

mcd.read.spikesR Documentation

Creates s object from txt data file exported from MCD file with MC_DataTool.

Description

Returns the spike trains and the channel names in the imported recording. Spikes outside of the time window [BEG, END] (if non-null) are ignored. Blank lines, pre and post-spike voltages will be ignored.

Usage

mcd.read.spikes(filename, ids = NULL, time.interval = 1, beg = NULL,
  end = NULL, pre.spike.ms = 0, post.spike.ms = 0)

Arguments

filename

input file

ids

IDS optional vector of cell numbershat should be analysed – the other channels are read in but then ignored.

time.interval

time bin used for calculation of the firing rate

beg

time in seconds from which data should be read in, NULL if should read from the beginning

end

time in seconds until which data should be read in, NULL if should read until the end of the file

pre.spike.ms

time in ms before a spike for which the input file has extra lines with voltage readout.

post.spike.ms

time in ms after a spike for which the input file has extra lines with voltage readout.


sje30/sjemea documentation built on May 21, 2024, 5:44 a.m.