Skip to content

Conversation

@tayheau
Copy link
Contributor

@tayheau tayheau commented Dec 18, 2025

So following #4251, a PR with a few new sampling methods for random_spikes_selection :

  • percentage cap
  • maximum_rate cap
  • temporal_bins sampling for a better temporal representation of the original population, i tried to fully vectorize it so the temporal bin sampling problem is dual with a subsorting problem.

I also added to possibility to get_segment_durations to set segment_indices to None.

@alejoe91 alejoe91 added the core Changes to core module label Dec 18, 2025
@tayheau tayheau marked this pull request as draft December 18, 2025 14:00
@tayheau tayheau marked this pull request as ready for review December 18, 2025 21:03
@alejoe91 alejoe91 requested a review from yger December 19, 2025 08:54
@samuelgarcia samuelgarcia added this to the 0.104.0 milestone Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Changes to core module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants