8000 GDF test files by nbara · Pull Request #23 · mne-tools/mne-testing-data · GitHub
[go: up one dir, main page]

Skip to content

GDF test files #23

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

Merged
merged 1 commit into from
Apr 21, 2017
Merged

GDF test files #23

merged 1 commit into from
Apr 21, 2017

Conversation

nbara
Copy link
Contributor
@nbara nbara commented Apr 21, 2017

This PR contains

  • one GDF version 1.25 file (openBCI)
  • one GDF version 2.20 file (biosemi2ft)

Contains
- one GDF version 1.25 file (openBCI)
- one GDF version 2.20 file (biosemi2ft)
nbara pushed a commit to nbara/mne-python that referenced this pull request Apr 21, 2017
@larsoner larsoner merged commit 669a1ee into mne-tools:master Apr 21, 2017
larsoner pushed a commit to mne-tools/mne-python that referenced this pull request Apr 28, 2017
* WIP: add basic GDF1 and GDF2 support

only tested on a few GDF test files
doesn't break existing EDF tests

* Remove \x00 from channel names

* Fix data calibration

- Unified offset and calibration values for EDF/BDF/GDF modules
- few PEP8 fixes
- TODO: GDF 2.x triggers are detected as multiples of 256
- TODO: overflow and saturation detection

* Proper imports imports in test_gdf.py

* Fix to test_edf.py

An additional warning has been added in edf.py when Lowpass information
is not available in file header.

As a result test_stim_channel() would fail. The test should now expect
2 warnings.

* Separated EDF and GDF code

- EDF and GDF file headers are now read in their own private subfunction
- some PEP8 and cosmetic changes
- GDF events are still multiples of 256

* Add biosig GDF test file

make Travis happy

* python3 fixes

- python3 requires decoding the bytes objects to produce strings
- np.unique() fails for dtype=object in python3 (see
numpy/numpy#641)
- flake, pydocstyle

* Read biosemi GDF stim_channel properly

* Speed up reading from file

- fromstring -> fromfile

* Test routines and added safechecks

Also remove test datafiles (see
mne-tools/mne-testing-data#23)

* Update utils, and missing lowpass info no longer issues warning

* Added stim_channel argument check

* Address comments

* Address comments and update doc

* Address comments

* Docstyle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0