<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Alex,<br>
<br>
Apology for late reply. This fixed the issue. Thanks a lot!<br>
<br>
Kind regards,<br>
Martin<br>
<br>
<div class="moz-cite-prefix">On 11/20/14, 9:13 AM, Alexander Maye
wrote:<br>
</div>
<blockquote
cite="mid:1828503.8MUoyVSXsK@mars.neurophys.uke.uni-hamburg.de"
type="cite">
<pre wrap="">Hi Martin,
if I remember correctly, it helps to read the header once (ft_read_header) and
then pass it to the ft_read_data calls. For continuous reading you need to
update the sample information inside the header struct with the data from
ft_poll_buffer.
Best,
ALEX.
Am Mittwoch, 19. November 2014, 16:24:43 schrieb Martin Dinov:
</pre>
<blockquote type="cite">
<pre wrap="">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
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
DANKE FÜR 125 JAHRE ENGAGEMENT UND VERTRAUEN.
<a class="moz-txt-link-abbreviated" href="http://www.uke.de/125">www.uke.de/125</a>
_____________________________________________________________________
Besuchen Sie uns auf: <a class="moz-txt-link-abbreviated" href="http://www.uke.de">www.uke.de</a>
_____________________________________________________________________
Universitätsklinikum Hamburg-Eppendorf; Körperschaft des öffentlichen Rechts; Gerichtsstand: Hamburg
Vorstandsmitglieder: Prof. Dr. Christian Gerloff (Vertreter des Vorsitzenden), Prof. Dr. Dr. Uwe Koch-Gromus, Joachim Prölß, Rainer Schoppik
_____________________________________________________________________
SAVE PAPER - THINK BEFORE PRINTING</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
fieldtrip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>
<a class="moz-txt-link-freetext" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></pre>
</blockquote>
</blockquote>
</body>
</html>