-
Notifications
You must be signed in to change notification settings - Fork 22
find_peak_()
Find turning points that exceed the threshold. If P.nneigh_min_detect>0, the number of consecutive points below the threshold must be greater than one. For example, the figure below has three consecutive points below the threshold thus it will be detected if P.nneigh_min_detect=1 or 2. This is turned off by default (P.nneigh_min_detect = 0).
-
viSpk1
= find_peak_(vrWav1
,thresh1
,nneigh_min
)
-
vrWav1
: filtered trace -
thresh1
: spike detection threshold (referenced from P.vnThresh_site). -
nneigh_min
: Minimum nearest neighbors. If 1, there must be at least two consecutive points below the threshold. If 2, there must be at least three consecutive points below the threshold (default: 0).
-
viSpk1
: Spike times (at the peak)
detect_spikes_(), spikeDetectSingle_fast_(), nneigh_min_detect
Home
JRCLUST pipeline
Performance benchmark
Step-by-step tutorial
Video tutorials
Command line interface
Requirements and Installation
Tetrodes sorting
Command listing
Code listing
Function listing
Main GUI
Preview GUI
Probe GUI
Traces GUI
Manual GUI
PSTH view
Input and output files
Probe file
Batch file
Supported recording format
User configuration file
Combining multiple files
Generating trial files
Master struct (S0)
Parameters struct (P)
Cluster struct (S_clu)
Global variables
Variable naming convention