[Eeglablist] Import larger ANT continuous file

Arnaud Delorme arno at ucsd.edu
Sat Apr 16 09:35:30 PDT 2011


Dear Min,

thanks for pointing that out. We will add a bug report about this and hopefully ANT will fix the problem. They have the repository for the ANT plugin and they have developed it. In the meantime, we have added a warning message for users to be aware of this problem.
Best regards,

Arno

On Mar 23, 2011, at 3:12 PM, Min Bao wrote:

> Hi everyone,
> 
> I have a question on importing raw data by pop_loadeep(). Because of the memory limit of the WinXP system, I found I could only read at most 30 minutes (sampling rate: 512 Hz) long data. However, my experiment was longer than 40 minutes. So I tried using the "time1" and "time2" flags of pop_loadeep() to define which segment of the whole dataset would be imported.
> 
> Some of my codes are listed here. For simplicity I omited those lines about saving the data:
> 
> %===  first, I read the first 30 minutes ===
> EEG = pop_loadeep([datapath,filename] , 'time1', 0, 'time2', 1800, 'triggerfile', 'on'); 
> 
> %=== then, I begin to read the remaining data by 5 minutes every time
> % the loop will break as long as the end of the dataset is reached
> ii = 1;
> while 1
>     ...
>     EEG = pop_loadeep([datapath,filename] , 'time1', 1800+1+(ii-1)*300, 'time2', 1800+300+(ii-1)*300, 'triggerfile', 'on');
>     ...
>     ii = ii+1;
> end
> 
> All these seemed to work well. And the epoch time displayed on the EEGLAB GUI looks correct for each segment, e.g. 0~1800, 1801~2400, etc. Then I concatenated all these segments. However, I found the number of events for each experimental condition was not correct. So I checked the first 40 events of each segment and took the latencies of all events for the target presentation which should be randomly distributed over time according to our experimental design. But I found they were all exactly the same, which means I think the "time1" and "time2" flags did not work in my code. I guess In the above loop, every time the code may just read the raw dataset from the very beginning rather than from the specified time point. Could anyone tell me if there was something wrong with my method? Thank you very much!
> 
> Min Bao
> 
> 
>  _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20110416/339aa445/attachment.html>


More information about the eeglablist mailing list