Single Trial Spectrum Analysis

This analysis captures the frequency content of continuous variables for a single trial.

Parameters

Parameter

Description

Reference

Specifies a reference neuron or event.

XMin

Time window minimum in seconds.

XMax

Time window maximum in seconds

Ref. Timestamp Number

Reference timestamp number.

Number of Fr. Values

Number of values in the spectrum.

Window Overlap (%)

Window overlap in percent (from 0 to 90).

Window Preprocessing

Preprocessing to be done for each window before calculating the spectrum of the window.

Windowing Function

Windowing Function to be applied to each window before calculating the spectrum of the window.

Discard Incomplete Windows

Option to discard the last window if it contains less than the expected number of data points (less than NumberOfFrValues*2 points).

Use Multitaper Algorithm

Option to use multi-taper algorithm.

Time-Bandwidth Product

Time-Bandwidth Product when using multi-taper algorithm.

Number of Tapers

Number of Tapers when using multi-taper algorithm.

Show Frequency From

Minimum frequency to be shown in the spectrum graph.

Show Frequency To

Maximum frequency to be shown in the spectrum graph.

Normalization

Spectrum normalization. See Algorithm below.

Log Frequency Scale

An option show Log10 frequency scale.

Smooth

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

Smooth Filter Width

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

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.

Add Freq. Values to Results

An option to add an additional vector of frequency values to the matrix of numerical results.

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

Spectrum minimum.

YMax

Spectrum maximum.

Filter Length

The length of all the intervals of the interval filter (if a filter was used) or the length or the recording session (in seconds).

Number of FFT windows

Number of FFT windows used in analysis.

Frequency of Minimum

The position of the minimum of the displayed spectrum (in Hz). If there are multiple bins in the spectrum where the spectrum value is equal to the spectrum minimum, this value represents the frequency of the first such bin.

Frequency of Maximum

The position of the maximum of the displayed spectrum (in Hz). If there are multiple bins in the spectrum where the spectrum value is equal to the spectrum maximum, this value represents the frequency of the first such bin.

Algorithm

For each selected continuous variable, a standard or multi-taper power spectrum is calculated. See Power Spectral Densities for Continuous Variables for details.