Skip to content

allow UnitWaveformsWidget to use probeinterface plot_probe#3819

Merged
alejoe91 merged 6 commits intoSpikeInterface:mainfrom
jakeswann1:dev
May 6, 2025
Merged

allow UnitWaveformsWidget to use probeinterface plot_probe#3819
alejoe91 merged 6 commits intoSpikeInterface:mainfrom
jakeswann1:dev

Conversation

@jakeswann1
Copy link
Copy Markdown
Contributor

Allows the UnitWaveformsWidget to use probeinterface plot_probe for channel locations, and implements axes_equal arg which was not previously implemented. This would depend on ProbeInterface PR 334 to allow the plot_probe function not to plot directly to an set of axes.

Would this be safe enough (do we expect the sorting_analyzer_or_templates object to always have a probe attached, or should I include a fallback to the original implementation too?

@alejoe91 alejoe91 added the widgets Related to widgets module label Mar 29, 2025
@chrishalcrow
Copy link
Copy Markdown
Member

We demand there's a probe attached already in get_channel_locations here:

channel_locations = sorting_analyzer_or_templates.get_channel_locations()

so we can safely assume there's a probe around 👍

@alejoe91 alejoe91 added this to the 0.102.3 milestone May 2, 2025
@alejoe91 alejoe91 merged commit c4bf17e into SpikeInterface:main May 6, 2025
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

widgets Related to widgets module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants