[FieldTrip] About huge delay for ft_read_data to return

Martin Dinov m.dinov13 at imperial.ac.uk
Wed Nov 19 17:24:43 CET 2014


Dear all,

I'm trying to do something with realtime EEG data and I'm using the
ft_read_data function get data from BrainVision Recorder via rda2ft. In
MATLAB, calling ft_read_data seems to always take >=500ms (even for a
single sample point from data with srate of 1000Hz) which is
unacceptably slow for what I want to do. Perhaps specifying channel
indices to read only some of the data would speed it up, but I haven't
managed to get this to work. As I am trying to phase lock to the alpha
band, I need to be able to read in single sample points (after an
initial larger block that can take longer) much quicker than 500ms
(<50ms). I highly appreciate any help with this!

Thanks in advance

-- 
Martin Dinov, MSc
PhD postgraduate
Imperial College London
Computational, Cognitive and Clinical Neuroimaging Laboratory
3rd Floor, Burlington Danes Building,
Hammersmith Hospital
Du Cane Road
London
W12 0NN




More information about the fieldtrip mailing list