Skip to content

Conversation

@chrishalcrow
Copy link
Member

We were using np.histogram(num_bins) to do the spikerate calculation. But this automatically computes the start and end of the range, then fits in the bins. Instead, we should define the start and end, and use the user-define bin_s to bin. This PR ensures all spike rates are computed using the same bins:

before:
Screenshot from 2025-11-19 10-36-09

after:
Screenshot from 2025-11-19 10-33-30

@alejoe91 alejoe91 merged commit f513958 into SpikeInterface:main Nov 25, 2025
1 check passed
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