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

Preserve only the peak spikes by removing smaller concurrent spikes that occur within the time range (P.spkRefrac_ms) and spatial range (P.maxDist_site_um, r1 in the figure).

Syntax

  • [viSpk, vrSpk, viSite] = spikeMerge_(cviSpk, cvrSpk, P)

Input

  • cviSpk: Cell of spike times per site (nSites x 1: cell of vectors)
  • cvrSpk: Cell of spike amplitudes (nSites x 1: cell of vectors)
  • P: Parameters struct (P)

Output

  • viSpk: Spike time at the peak
  • vrSpk: Peak spike amplitudes
  • viSite: Sites where the spike is detected

Operations

See also

detect_spikes_(), detect_()

Clone this wiki locally