cortex-lab / cortex-lab/phy

Clusters in Waveform View Unaligned

Open
#1,155 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: visualization status: confirmed type: bug
Dominant language
Python
Stars
430
Forks
187
Avg merge
2h 31m
Merged PRs (30d)
2

Description

I identified all of the good clusters in a data set, partially by using the WaveformView to to identify clusters with clean consistent waveforms. However, just as I started merging clusters, all of clusters in WaveformView spontaneously unaligned themselves. Instead of seeing checkmark shaped curves of spikes, I see disordered lines with individual peaks not allied to each other. When I press 'M' to see the average waveform, they still have normal waveforms shaped like they were before. The correlagrams and other window views still indicate that the clusters are good.

I do not know why Phy spontaneously started displaying waveforms like this. Right before I was having a similar problem but only when I merged two clusters. I overlaid two clustered in WaveformView and they looked similar. But when I merged them none of their peaks were aligned and the waveform looked terrible. Even though the correlagrams continued to show a good cluster. Pressing 'M' to see the average merged waveform shows a noisy poorly shaped waveform.

Does anyone know why the WaveformView is not alining the spikes within clusters?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the problem in WaveformView, including viewing the average waveform with M and merging two clusters, then compare the displayed alignment with the correlagrams. The issue is resolved when clustered spikes remain aligned after merging and the average waveform agrees with the other views.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.