ycanerol / pymer

Collection of Python scripts for analyzing extracellular multielectrode array recordings from the retina in the Gollisch lab, Göttingen.
0 stars 1 forks source link

Add a way to merge duplicate cells #10

Open ycanerol opened 6 years ago

ycanerol commented 6 years ago

Sometimes we oversplit the cells during spike sorting, we need a way of merging them later.

dimokaramanlis commented 6 years ago

This is how we do it usually (second bullet). We add a new line (in the Excel sheet) of the new cluster in the group of channels, giving it the next highest number (e.g. group of electrodes A has clusters 1,2,3,4 and the merger of 1+2 ends up as a new cluster 5). Then, we create a new raster file for cluster 5 of group A (for all stimuli), where we write sorted spikes for both clusters (1+2).