Perievent Rasters for Continuous

This analysis shows the traces of the selected continuous variable relative to the timestamps of the reference variable.

Parameters

Parameter

Description

Reference

Specifies a reference neuron or event.

XMin

Time axis minimum in seconds.

XMax

Time axis maximum in seconds

Use last ref. event

An option to draw the trace only for the last reference event.

Round ref. timestamp

An option to align reference event timestamps to the timestamps of the continuous variable. This option is valid only if XMin <0 and XMax >0.

Draw Variation

An option to draw variation around the mean as a colored background.

Variation (standard deviations)

Number of standard deviations in the colored background around the mean.

Variation Background Color

The color to be used for drawing of the colored background around the mean.

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.

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.

Reference

Reference variable name.

NumRefEvents

The number of reference events used in calculation

YMin

Minimum of the average trace shown at the bottom.

YMax

Minimum of the average trace shown at the bottom.

Algorithm

Let ref[i] be the array of timestamps of the reference event.

For each timestamp ref[k], NeuroExplorer draws the values of continuous variable with timestamps from ref[k] + XMin to ref[k] + XMax. The timestamps of the continuous variables are shown relative to the ref[k]: if the timestamp of continuous variable data point is cont_ts[i], the timestamp shown in Numerical Results is relative_ts[i] = cont_ts[i] - ref[k].

If Round ref. timestamp option is used, NeuroExplorer shifts the relative timestamps of the continuous variable. The program finds the last timestamp cont_ts[j] of the continuous variable before ref[k]. Then, the program adjusts the relative timestamps of the continuous variable so that

relative_ts_adjusted[j] = ref[k]

If diff = ref[k] - cont_ts[j] then relative_ts_adjusted[i] = relative_ts[i] + diff.

Mean values of the perievent raster shown at the bottom graph are calculated using linear interpolation.