S_clu_position_() - JaneliaSciComp/JRCLUST GitHub Wiki
Compute the physical positions of units by averaging the spike positions after clustering. The spike position is estimated by the center of mass (CoM) using the site positions and the peak spike amplitude at each site.
Usage
- S_clu = S_clu_position_(S_clu)
Input
- S_clu: Cluster struct (S_clu)
Output
- S_clu: Cluster struct (S_clu)
- vrPosX_clu and vrPosY_clu fields are updated