spikeTriggeredHeadDirectionHisto-methods: Calculate the spike-triggered head-direction histogram using...

Description Usage Arguments Details Value

Description

Each spike is treated as a reference spike in turn, and set to phase 180 degree. 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.

Usage

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

## S4 method for signature 'HeadDirection'
spikeTriggeredHeadDirectionHisto(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 rate histograms in the hist slot


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