spiketimes: Make spiketimes object (spike times + stimulus info) from...

Description Usage Arguments Details Value See Also

Description

spiketimes objects consist of a list of dataframes reporting the time of spikes. the data frames have two core columns Time and Wave. Time is the time in ms at which each spike occurred within the current sweep. Wave is the 0-indexed number of the sweep within the pxp file (Igor convention). Every Wave must have an entry, so if there are no spikes in e.g. Wave 2, an entry of (Time=NA,Wave=2) will be required.

Usage

1
spiketimes(x, xlim, stimRange)

Arguments

x

object to convert to spiketimes list (normally already a list(

xlim

recording time window for each sweep

stimRange

time window over which stimulus was delivered

Details

Separate dataframes can be combined into a list where each dataframe is one block of waves that is repeated within a single pxp file or compatible blocks from multiple pxp files. Use split.spiketimes to split a spiketimes object loaded from a pxp file with repeated blocks and +.spiketimes to combine compatible blocks.

CollectSpikesFromSweeps will generate a spiketimes object for you, so this function will only needed if you are constructing spiketimes objects from scratch.

Value

spiketimes object

See Also

Other spiketimes: +.spiketimes, [.spiketimes, divide, is.spiketimes, merge.spiketimes, split.spiketimes, subset.spiketimes


jefferis/gphys documentation built on June 5, 2019, 9:45 p.m.