Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
- Loading branch information