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.

stim_channel="auto" in read_raw_edf renames stim channel

See original GitHub issue

The new default for mne.io.read_raw_edf in MNE 0.16 will be stim_channel="auto". Using this argument, the stim channel is called Status instead of the usual STI 014. This causes mne.find_events to fail because by default it looks for a channel called STI 014. Is this intended?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:23 (23 by maintainers)

github_iconTop GitHub Comments

1reaction
agramfortcommented, Nov 23, 2017
1reaction
larsonercommented, Nov 16, 2017

It sounds like there are now several problematic files. If you have time, making a bulleted list (one per file) at the top of one of these issues that contains file link + existing behavior + what it should do would go a long way to setting up for a proper fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

mne.io.read_raw_edf — MNE 1.2.2 documentation
Defaults to 'auto', which means that channels named 'status' or 'trigger' (case ... all channels matching the name(s) are set to STIM.
Read more >
How to add events to raw .edf EEG with no stim channel
I want to add a column of events to raw data .csv file of EEG signal with 64 Channel data from .edf file...
Read more >
Python read_raw_edf Examples, mneio. ...
test if last channel is detected as STIM by default raw_py = _test_raw_reader(read_raw_edf, input_fname=bdf_path, stim_channel='auto') assert ...
Read more >
EDF/BDF highlevel functions
pyedflib.highlevel. change_polarity (edf_file, channels, new_file=None, ... A convenience function to rename channels in an EDF file.
Read more >
Hackathon Tutorial
... in the .bdf EEG files raw = read_raw_edf(dataPath, preload=True, stim_channel='auto', ... Extract data from the first 5 channels, from 1 s to...
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