Firing Phase

This analysis determines phase relationships between single cell and continuous signal activity.

Parameters

Parameter

Description

Zero Phase Event

Specifies an event variable containing timestamps of the starts of the oscillation cycles. Usually, this variable is created by running Find Oscillations analysis.

Oscillation Epochs

Specifies an interval variable that specifies beginning and end of each oscillatory episode. Usually, this variable is created by running Find Oscillations analysis.

Number of Phase Bins

Number of bins in [0,360] degrees phase range.

Select Data

If Select Data is From Time Range, only the data from the specified (by Select Data From and Select Data To parameters) time range will be used in analysis. See also Data Selection Options.

Select Data From

Start of the time range in seconds.

Select Data To

End of the time range in seconds.

Interval filter

Specifies the interval filter that will be used to preselect data before analysis. See also Data Selection Options.

Smooth

Option to smooth the result after the calculation. See Post-Processing Options for details.

Smooth Filter Width

The width of the smooth filter. See Post-Processing Options for details.

Send to Matlab

An option to send the matrix of numerical results to Matlab. See also Matlab Options.

Matrix Name

Specifies the name of the results matrix in Matlab workspace.

Matlab command

Specifies a Matlab command that is executed after the numerical results are sent to Matlab.

Send to Excel

An option to send numerical results or summary of numerical results to Excel. See also Excel Options.

Sheet Name

The name of the worksheet in Excel where to copy the numerical results.

TopLeft

Specifies the Excel cell where the results are copied. Should be in the form CR where C is Excel column name, R is the row number. For example, A1 is the top-left cell in the worksheet.

Summary of Numerical Results

The following information is available in the Summary of Numerical Results

Column

Description

Variable

Variable name.

YMin

Y axis minimum.

YMax

Y axis maximum.

NumSpikes

The number of spikes used in calculation.

CyclesUsed

The number of oscillation cycles used in calculation

Algorithm

For each interval of the Oscillation Epochs variable:

  • Timestamps of Zero Phase Event in this interval are selected

  • For each oscillation cycle (a pair of selected Zero Phase Event timestamps [zero_phase[i], zero_phase[i+1]):

  • Spikes in the oscillation cycle [zero_phase[i], zero_phase[i+1]) are selected

  • For each selected spike, spike phase is calculated as

360*(spike_time - zero_phase[i)/(zero_phase[i+1] - zero_phase[i])

A histogram of spike phases is calculated. Histogram bin counts are divided by the number of spikes in all oscillation cycles.

References

Klausberger et al. Brain-state- and cell-type-specific firing of hippocampal interneurons in vivo. Nature. 2003 Feb 20;421(6925):844-8