question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BrainVision annotation parsing is needlessly complicated

See original GitHub issue

It used to be BV files would neatly map stim codes to integers: 'Stimulus/S 11' would become 11 and so on. Now, with annotations, we have essentially random assignment; what 'S 11' becomes is essentially unpredictable.

Now it is trivial to write a small function to get neater mappings, but 1. if you work with BV files, you will probably write that same function every single time you import your data, which is another 5 or so lines of essentially boilerplate, and 2. this presents a significant barrier of entry to newcomers.

Of course, it could be quite easy: least-surprise default mapping BV markers to integer codes in the way you’d expect, i.e., 'S 11' becomes 11.

Or am I missing something?

@cbrnr @massich

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:38 (38 by maintainers)

github_iconTop GitHub Comments

1reaction
jona-sassenhagencommented, May 6, 2019

I will implement it as such!

1reaction
jona-sassenhagencommented, May 4, 2019

Yes, and that function, or something like it, should have been the default for mapping markers to event code ints.

I will go about that, unless @massich or somebody else wants to.

Read more comments on GitHub >

github_iconTop Results From Across the Web

BrainVision Analyzer - TSG Doc
This provides a simple way of implementing a broad spectrum of applications ranging from simple scripts up to complex calculations. The SAX BASIC...
Read more >
Frequently Asked Questions - Brain Vision
Frequently Asked Questions. Use the search function below to find answers to commonly asked questions or browse the FAQs by clicking on a...
Read more >
An Annotated Journey through Modern Visual Neuroscience
Finally, as the diversity, connectivity, and parallel processing ... The segregation of these two streams has been complicated since its ...
Read more >
Data‐driven region‐of‐interest selection without inflating Type ...
Abstract In ERP and other large multidimensional neuroscience data sets, researchers often select regions of interest (ROIs) for analysis.
Read more >
BrainVision Analyzer | Brain Products GmbH > Solutions
BrainVision Analyzer: market-leading, complete EEG & ERP processing software used to analyze data from nearly any EEG amplifier available.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found