Back to the main page.

Bug 3126 - implement support for the NeurOne EEG file format

Reported 2016-05-12 12:54:00 +0200
Modified 2017-01-17 11:29:45 +0100
Product: FieldTrip
Component: fileio
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P5 normal
Assigned to: Robert Oostenveld
Depends on:
See also:

Robert Oostenveld - 2016-05-12 12:54:11 +0200

See This is the system that is used in Jyvaskyla for the ChildBrain project. Apparently there exists already matlab code (hinted at by the EEGLAB route taken so far).

Robert Oostenveld - 2016-05-12 13:09:34 +0200

this might be an easy one, since on there is code available. Could someone from Jyvaskyla send me a (preferably not too large) example file? The recording should also have some events/triggers. Please see

Praghajieeth - 2016-05-30 10:12:41 +0200

(In reply to Robert Oostenveld from comment #1) Unfortunately, our data is not less than 1000KB. Therefore, we uploaded our pilot dataset with trigger codes in the dropbox. Please find the data in the below link. Thank you.

Robert Oostenveld - 2016-05-30 10:50:12 +0200

(In reply to Praghajieeth from comment #2) I downloaded the dataset and copied it internally to /home/common/matlab/fieldtrip/data/test/original/eeg/neurone (only mentioned here for later reference). You can remove the dataset from your dropbox again, to avoid other people from accessing it.

Robert Oostenveld - 2016-06-20 14:30:29 +0200

mac011> git commit -a [bug3126-neurone 53f44af] ENH - added initial support for mega_neurone EEG format, see The actual reading of header, data and events still needs to be added, but it contains the placeholders.

Robert Oostenveld - 2016-06-21 12:59:46 +0200

These commits contain all code. The test script (test_bug3126) now also works. ENH - added initial support for mega_neurone EEG format, see http://b… 53f44af ENH - don't use pop_chanedit GUI from EEGLAB but leave channel positi… 6adebf7 ENH - implemented full support for Mega Neurone EEG file format 0ecee19 DOC - mention Neurone in the documentation, see http://bugzilla.field… 7d76172 ENH - don't keep data.hdr.orig if is larger than 10KiB c4694dc See

Robert Oostenveld - 2016-06-21 13:02:24 +0200

it will now appear in the release version. The only thing I am not 100% sure about is whether the sample offset of triggers on line 1268 in ft_read_event event(i).sample = round(NEURONE.event(i).latency * 0.001 * NEURONE.srate + 1); is computed correctly. In worst case I think it would only be a single sample (i.e. 1 ms) off.

Robert Oostenveld - 2017-01-17 11:29:45 +0100

closed multiple bugs that were resolved some time ago