<div dir="ltr">hi all,<div><br></div><div>I noticed that FieldTrip's ft_preprocessing is extremely slow reading in our Branvision files (high-density sleep, about 8 GB). I've compared it to eeglab's import tool for Brainvision (<span class="gmail-il">bva</span>-io1.71)</div><div><br></div><div>%---eeglab (all FieldTrip paths removed)</div>tic<br>[bv_folder,bv_file]=fileparts(bf_file);<br>EEG=pop_loadbv(bv_folder,[bv_file '.vhdr']);<br>t_eeglab=toc<div><br></div><div>t_eeglab =<br><br>    40.3622<br></div><div><br></div><div>%--fieldtrip (all EEGLAB paths removed)</div>tic<br>cfg=[];<br>cfg.dataset=bf_file;<br>cfg.continuous = 'yes';<br>cfg.readbids ='no';<br>data_ft=ft_preprocessing(cfg);<br>t_ft=toc<div><br></div><div>t_ft =<br><br>  458.0801<br></div><div><br></div><div>So that's tenfold slower.</div><div><br></div><div>One clue that may be of help: as we keep the data on a remote server I can monitor the ethernet throughput. Whereas eeglab's reading function quickly jumps to 1 Mbps (presumably fetching the file with all available bandwith), Fieldtrip's reading operation barely leads to an observable increase in traffic. Without knowing anything, I would speculate that data is fetched piecewise, e.g., by channel or block, leading to notcieable slowing for larger files.</div><div><br></div><div>Is there anything that can be done to speed up reading data?</div><div><br></div><div>Regards,</div><div>Roy</div></div>