-
Notifications
You must be signed in to change notification settings - Fork 22
detect_spikes_()
Detect spikes from each site and group coincident spikes (within time range P.spkRefrac_ms) from nearby sites (within spatial range P.maxDist_site_um, r1
in the figure). Coincident spikes are removed if there exists larger spikes within the spatiotemporal range, but spike waveforms occurring in adjacent sites are later captured (mn2tn_wav_()) by including the sites within a fixed radius (P.maxDist_site_spk_um, r2
in the figure).
- [viTime_spk, vrAmp_spk, viSite_spk] = detect_spikes_(mnWav3, vnThresh_site, vlKeep_ref, P)
- mnWav3: filtered traces (nSamples_load x nSites: int16)
- vnThresh_site: Detection threshold for each site (nSites x 1: int16).
- vlKeep_ref: logical vector to enable spike detection (nSamples_load x 1: logical)
- P: Parameters struct (P)
- viTime_spk: Spike times
- vrAmp_spk: Spike amplitudes
- viSite_spk: Spike sites
- spikeDetectSingle_fast_(): Perform spike detection independently for each channel based on threshold crossing of turning points. The operation is performed on GPU if available.
-
spikeMerge_(): Removes coincident spikes if there are larger spikes within the time range (P.spkRefrac_ms) and spatial range (P.maxDist_site_um).
- spikeMerge_single_(): Perform the merge operation for each channel in parallel using multiple CPU cores.
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