Back to the main page.

Bug 174 - implement EDF and GDF format in ft_write_data

Status CLOSED FIXED
Reported 2010-10-05 13:58:00 +0200
Modified 2011-01-12 13:09:32 +0100
Product: FieldTrip
Component: fileio
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P1 enhancement
Assigned to: Stefan Klanke
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2010-10-05 13:58:42 +0200

exporting channel-level data to EDF and GDF would be useful for interoperability with other software. ft_write_data should export to EDF, with the restrictions that appending does not have to be supported. In case appending is supported, the requirement should be that the input data matrix is casted to int16. Writing to GDF should be easier. Also here support for appending is not the most important. Both EDG and GDF can probably be implemented using BIOSIG (see fieldtrip/external)


Stefan Klanke - 2010-10-26 11:59:06 +0200

I checked in some code for writing GDF files without depending on BIOSIG. Writes unmodified data (original data type), cannot append yet.


Stefan Klanke - 2010-12-02 16:37:06 +0100

I also checked in code for writing EDF files without depending on BIOSIG. Writes data as int16, with warnings in case round-off errors might occur (original data type != int16), and errors if the scale of the data does not fit in 16-bit integers. No support for appending, yet.