Back to the main page.

Bug 2859 - ft_read_header returns wrong number of samples for EGI data (NetStation 4.5.4)

Status CLOSED FIXED
Reported 2015-02-26 13:08:00 +0100
Modified 2015-07-15 13:31:10 +0200
Product: FieldTrip
Component: fileio
Version: unspecified
Hardware: All
Operating System: All
Importance: P5 normal
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Andreas Wollbrink - 2015-02-26 13:08:42 +0100

Created attachment 705 modified version of ft_read_header when applying ft_read_header to EGI raw data (header format 'egi_mff_v1' 'egi_mff') function returns wrong number of samples (hdr.nSamples) propable reason: check for NS 4.5.4 picosecond timing is performed just for multi epoch data, should be done independent from number of data epochs suggested fix: add sanity and timming check in code lines 1001 - 1017 (see attached file, modified version of ft_read_header) hint: since I do not have multi epoch EGI data I was not able to test the modification


Robert Oostenveld - 2015-02-26 14:37:42 +0100

thanks for the clear suggestion, I followed it. mac011> svn commit Sending fileio/ft_read_header.m Transmitting file data . Committed revision 10261.


Robert Oostenveld - 2015-07-15 13:31:10 +0200

closed several bugs at once that were recently fixed