Skip to content

Conversation

@chrishalcrow
Copy link
Member

Hello,

On a multi-shank probe, the xRange on the WaveformView wasn't updating when I selected a new unit.

I think I tracked down the problem: self._x_range should be computed using the newly computed xvect (higher up in the function) rather than the one stored in self.

Alternative solution: the new xvects should be stored in self??

(don't ask me how this took 4 commits...)

x_margin =50
y_margin =150
self._x_range = np.min(self.xvect) - x_margin , np.max(self.xvect) + x_margin
self._x_range = np.min(xvects) - x_margin , np.max(xvects) + x_margin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably the same issue is in panel as well. Can you test the web mode too?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't get web mode working... will keep trying...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the issue?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's me, hi, I'm the problem, it's me

Fixed now, and web updated

@samuelgarcia
Copy link
Member

merci

@alejoe91 alejoe91 merged commit b4c5e2c into SpikeInterface:main Jun 17, 2025
@chrishalcrow chrishalcrow deleted the waveform-xrange branch June 18, 2025 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants