kwikteam/phy-contrib

traceview: overlapping colors

Closed this issue · 2 comments

It's sometimes confusing when a spike appears one color when all spikes are highlighted, but it turns out not to "really" be that color - that's just the color of some distant neuron that happens to include that channel on the edge, and the distant neuron gets painted on top of the central one. In the screenshot below, all four of the big spikes should be blue (they are in the selected cluster) but only two of them do, because the others were painted over by a different color. There are multiple resolutions to this, in order of simplicity:

  1. Make the selected cluster's blue color always paint on top
  2. Make the top color be the color of the cluster with the closest peak channel
  3. Make the top color be the color of the cluster with the largest amplitude at that time on that channel
  4. Have the colors fade as a function of amplitude, and blend or else choose the top one based on which has largest amplitude

Should at least do the first one, for clarity!

Here are the screenshots I meant to include:
image

image

I think this is resolved on the dev branch of phy