Skip to content

assign_clu_count_()

jamesjun edited this page Dec 18, 2017 · 2 revisions

Assign cluster membership (S_clu.viClu) for a list of cluster centers (S_clu.icl)

Syntax

S_clu = assign_clu_count_(S_clu, P)

Input

S_clu: Cluster struct. It requires icl (spike indices of density peaks), ordrho (density order), nneigh (nearest neighborhood) fields. P: Parameters struct

Output

S_clu: Cluster struct. Cluster membership field is updated (S_clu.viClu).

Operation

  • Assigns cluster membership to the nearest neighbor by calling assignCluster_()
  • Repeat the above operation until all events are assigned (or until loop is called 1000 times).

See also

postCluster_(), assignCluster_()

Clone this wiki locally