Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@oliche
Copy link
Contributor

@oliche oliche commented Dec 31, 2025

Fixed the main bug: all of the processing has to be done in float, even if only to reconvert to int at the end of the module.

I have also improved a few things:

  • filters had mutable arguments, switched lists to tuple
  • tests were always ignored as neurodsp module doesn't exist anymore
  • epsilon value was absolute in agc, this is valid in IBL as we always work in Volts. It will now generalize as it is relative to the rms. I have also updated the IBL version with the same change
  • In the tests in debug mode, I use viewephys to compare the traces. It turns out that the edge effects in time are larger in the spike interface version than the IBL version, this is due to the filter implementation.

oliche added a commit to int-brain-lab/ibl-neuropixel that referenced this pull request Dec 31, 2025
from copy import deepcopy

import spikeinterface as si
import spikeinterface.full as si
Copy link
Member

Choose a reason for hiding this comment

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

Why switch from core to full. This is super heavy and probably not necessary right? This is a bit of a poorly explained part of our importing.

import spikeinterface as si

is equivalent to

import spikeinterface.core as si

which is a faster import.

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.

2 participants