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

Merged
merged 1 commit into from
Nov 1, 2024

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
@aspaNeuro aspaNeuro requested a review from glopesdev October 17, 2024 10:53
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]>
@glopesdev glopesdev force-pushed the synchronizer-monitor branch from 8cd7b22 to a91009a Compare November 1, 2024 15:59
@glopesdev glopesdev merged commit a9711cb into main Nov 1, 2024
5 checks passed
@glopesdev glopesdev deleted the synchronizer-monitor branch November 1, 2024 16:02
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