cortex-lab / cortex-lab/phy

TraceView feature request: center the cluster channels & auto-update

Open
#1,092 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

The "Go to next/previous spike" shortcuts (Alt + PgDown / PgUp) are really nice, but it only bring the time of the next/previous spike to the center of the view, not the channels. If I select another cluster far away from the current one, I have to (1) Press Alt + PgDown and (2) zoom out the trace view to locate the new cluster on the probe and then zoom in. It would be great if the following features can be added:
(1) When Alt+PgDown/PgUp is pressed, center the spike both along the horizontal time axis and the vertical probe axis
(2) If auto_update is enabled, selecting another cluster will automatically center the next spike of the new cluster (no need to press Alt+PgDown/PgUp again)

Thanks a lot!

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 tracing the TraceView handlers for Alt+PgDown/PgUp and cluster selection, including the auto_update path. Verify how the current spike is centered horizontally, then define completion as centering both time and probe channels and automatically centering the new cluster's next spike when auto_update is enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.