spikeTriggeredHeadDirectionCrossHisto-methods: Calculate the spike-triggered head-direction crosscorrelation...

Description Usage Arguments Details Value

Description

This works on pairs of cells listed in slot cellPairList of the st object. Each spike of cell A is treated as a reference spike in turn. The histogram is constructed from the data following the reference spikes by shifting the head direction data so that the head direction of the agent at the time of the reference spike is 180 degree. The spikes of cell B are used to calculate the sampling rates The results are stored in the crossHisto slot

Usage

1
2
3
4
5
spikeTriggeredHeadDirectionCrossHisto(hd, st, pt, minIsiMs, maxIsiMs)

## S4 method for signature 'HeadDirection'
spikeTriggeredHeadDirectionCrossHisto(hd, st, pt,
  minIsiMs, maxIsiMs)

Arguments

hd

HeadDirection object

st

SpikeTrain object

pt

Positrack object

minIsiMs

Minimal interspike interval to consider in ms

maxIsiMs

Maximal interspike interval to consider in ms

Details

The occupancy histogram and the firing rate histogram are smoothed with a Gaussian kernel. The amount of smoothing is determined by slots smoothOccupancySd and smoothRateHistoSd of the HeadDirection object.

You can set the temporal limit for the data used to construct the histogram with minIsiMs and maxIsiMs

Value

HeadDirection object with the spike-triggered cross rate histograms


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