Skip to content
jamesjun edited this page Dec 3, 2017 · 3 revisions

Spike detection threshold for each site (expressed in the ADC unit). There are two methods to determine this value

Calculated from P.qqFactor

vnThresh_site is calculated by multiplying the Gaussian RMS per site by a scaling factor (P.qqFactor. The Gaussian RMS value is estimated from the MAD, which is more resistant to the effect of spiking than the standard deviation-based scaling. For more information, see Quian Quiroga's article on Scholarpedia.

Loaded from .mat file

vnThresh_site is loaded from a mat file (P.vcFile_thresh) which contains a variable by the same name. Use this method if you want to apply a constant threshold value across time per site. You may use jrc preview GUI to generate the .mat file (P.vcFile_thresh). jrc preview command loads a subset of a recording file to the memory by loading evenly spaced n blocks (P.nLoads_max_preview) of continuous time segments (P.sec_per_load_preview).

See also: detect_spikes_()

Clone this wiki locally