Skip to content

Fix durations in generate_hybrid_recording #3985

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

alejoe91
Copy link
Member

In the hybrid generation, if the recording has timestamps, they might exceed the (num_samples/sampling_frequency) duration, generating spikes beyond the actual duration of the recording.

For hybrid generation we can simply use num_samples / sampling_frequency

@alejoe91 alejoe91 requested a review from samuelgarcia June 16, 2025 10:03
@alejoe91 alejoe91 added the generators Related to generator tools label Jun 16, 2025
@zm711
Copy link
Member

zm711 commented Jun 17, 2025

Just updated branch so that testing will work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
generators Related to generator tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants