Skip to content
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

Synchronizer monitor mean timestamps only used when devices report heartbeats #224

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

Conversation

aspaNeuro
Copy link
Contributor

When no devices report a heartbeat, DescriptiveStatistics yields a NaN. In this scenario the mean timestamp considered is taken from the synchronizer heartbeat that triggered the BufferTrigger.

Fixes #172

@aspaNeuro aspaNeuro added the bug Something isn't working label Oct 17, 2024
Copy link
Contributor

@glopesdev glopesdev 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, only a couple of minor comments.

src/Aeon.Acquisition/SynchronizerMonitor.bonsai Outdated Show resolved Hide resolved
- When no devices report a heartbeat, DescriptiveStatistics yields a NaN. In this scenario the mean timestamp considered is taken from the synchronizer heartbeat that triggered the BufferTrigger.

Co-authored-by: NeuroThom <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SynchronizerMonitor should not throw if no devices report heartbeats
3 participants