cortex-lab / cortex-lab/phy

Incorrect channel selection in featureView (ctrl+click in waveformview)

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

Nobody has claimed this yet.

area: data scope: legacy-kwik status: needs-info type: bug
Dominant language
Python
Stars
430
Forks
187
Avg merge
2h 31m
Merged PRs (30d)
2

Description

Hi all,

I found an issue with selecting channels for featureView, by clicking in the Waveform Viewer on the specific channels.
When clicking on a channel, the features update, but on the wrong channel. I can't find a clear correlation/a linear transformation of te clicked-versus-displayed. for instsance, clicking on channels 14, 15, 16 provides 8, 9, 10 in featureview, but clicking on 17 gives channel 13. furthermore, everything below channel 10 seems to just provide channel 0 in the feature view. This seems to happen on multiple sessions, seemingly different each time.

I suspected it might be due to scaling in the waveform Viewer window, however, when opening a brand new sessions, this problems still persists (I believe that in new session it opens in default scaling?)

The probe layout looks perfect in every other way, so not sure what is going on here.

Working on phy KwikGUI v2.0b1, phylib v2.2, on Ubuntu 16.04

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 ctrl-click behavior in the Waveform Viewer and FeatureView using the reported channel examples, including a new session. Trace how the clicked waveform channel is mapped to the displayed feature channel and compare behavior across sessions. Done means selecting a channel consistently updates FeatureView for that same channel.

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
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.