Skip to content

Conversation

@ablot
Copy link
Contributor

@ablot ablot commented Dec 6, 2025

Issue #4180

preserve bit_depth parameter in UnsignedToSignedRecording serialization

The UnsignedToSignedRecording class was missing the bit_depth parameter
in its _kwargs dictionary, causing it to be lost during clone operations.
This resulted in incorrect trace values when set_probe() was called on
unsigned-to-signed recordings with custom bit depths.

I think that doesn't affect anything else but I'm quite new to spikeinterface

Antonin Blot added 2 commits December 5, 2025 10:30
The UnsignedToSignedRecording class was missing the bit_depth parameter
in its _kwargs dictionary, causing it to be lost during clone operations.
This resulted in incorrect trace values when set_probe() was called on
unsigned-to-signed recordings with custom bit depths.

Fixes SpikeInterface#4180
Copy link
Member

@chrishalcrow chrishalcrow left a comment

Choose a reason for hiding this comment

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

Looks good - thanks!

@samuelgarcia samuelgarcia added the preprocessing Related to preprocessing module label Dec 8, 2025
@samuelgarcia
Copy link
Member

merci

@samuelgarcia samuelgarcia added this to the 0.104.0 milestone Dec 8, 2025
@alejoe91 alejoe91 merged commit 705c932 into SpikeInterface:main Dec 9, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preprocessing Related to preprocessing module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants