Skip to content
jamesjun edited this page Nov 1, 2017 · 1 revision

Return features for the spikes whose peak or second peak occurs at the specified site (iSite).

Syntax

  • [mrFet12_, viSpk12_, n1_, n2_, viiSpk12_ord_] = fet12_site_(trFet_spk, S0, P, iSite, vlRedo_spk)

Input

  • trFet_spk: Spike features (nFeatures x nPositions x nSpikes: single). nPositions=2. iPosition=1 contains the features centered at the peak site and iPosition=2 contains the features centered at the second peak site.
  • S0: Master struct (S0)
  • P: Parameters struct (P)
  • iSite: Site number
  • vlRedo_spk: logical vector of spikes to recluster (optional, default: [])

Output

  • mrFet12_: Feature matrix (nFeatures x (n1+n2): single)
  • viSpk12_: Spike index ((n1+n2) x 1: int32)
  • n1_: Number of spikes whose peak occurs at iSite
  • n2_: Number of spikes whose second peak occurs at iSite
  • viiSpk12_ord_: Temporal order of spikes (ascending order), 1<=viiSpk12_ord_<=(n1_+n2_)
Clone this wiki locally