Repository navigation
Enable TMS blanking on NA500 BNC input by default - #26
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The NA500 BNC input was configured in mode 1 (events only), so incoming pulses did not enable FPGA EEG blanking. Configure a fixed 1000 µs blanking width before selecting mode 2 during stream setup, including when joining an already-running amplifier and after reinitialization. Setup fails if either command is rejected.
The mock continues reporting BNC events in mode 2. This also adds repeatable hardware capture/analysis utilities, an example DHCP-only configuration for a dedicated amplifier link, and a hardware report with the comparison plot and quantitative results. Large raw recordings remain local and are ignored by Git.
Validation
cmake --build build -j 6).git diff --checkpassed.All comparison blocks had contiguous counters and 250 µs timestamp increments; none of the analyzed event windows showed EEG saturation. Mode 2 produced a repeatable EEG switching transient whose later portion moved later with increased blanking width, while mode 1 stayed near background noise. This supports a width-dependent hardware response and preserved events. A driven-input test is still needed to verify suppression of a known signal or TMS artifact; this open-input experiment does not establish suppression or exact analog gate timing.
The full method, plot, measurement summary, and reproduction commands are in the hardware report.