<html>
<head>
</head>
<body style="margin-left: 4px; margin-right: 4px; margin-top: 4px; font-variant: normal; margin-bottom: 1px; line-height: normal">
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">Hi Brian,</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">Johanna is correct - manually editing the file names in Brainvision eeg data often causes problems. This is because the original name of the EEG data file ('*.eeg') and the corresponding marker file ('*.vmrk') are both stored within the header file ('*.vhdr'), and these information won't change accordingly if you rename the files on your hard disk. If the original data name is not available to re-rename the files on your hard disk, you can see them in the *.vhdr-file (5th and 6th row of the vhdr file, just open it with a text editor). Alternatively, you can edit the file name information within the vhdr-file to match the file names on your hard disk.</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">Best regards,</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">Gregor</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<br>
<br>
<font face="Dialog" STYLE="font-size: 10pt"><br>--
<BR>Dr. rer. nat. Gregor Volberg <gregor.volberg@psychologie.uni-regensburg.de> ( mailto:gregor.volberg@psychologie.uni-regensburg.de )
<BR>University of Regensburg
<BR>Institute for Experimental Psychology
<BR>93040 Regensburg, Germany
<BR>Tel: +49 941 943 3862
<BR>Fax: +49 941 943 3233
<BR><a href="http://www.psychologie.uni-regensburg.de/Greenlee/team/volberg/volberg.html
">http://www.psychologie.uni-regensburg.de/Greenlee/team/volberg/volberg.html
</a><BR><br><br></font>>>> Johanna Zumer <johanna.zumer@donders.ru.nl> 9/22/2011 11:48 AM >>><br>Hi Brian, </p>
<div>
<p style="margin-top: 0; margin-bottom: 0">
Also I noticed in your error you have '-kop' in the file name but not in the dataset name. I've noticed that one can't change the file name of .eeg files (e.g. copying them to a new file name) and then still load them; you should stick to the original name as it was given when collected. </p>
</div>
<div>
<p style="margin-top: 0; margin-bottom: 0">
<br>
</p>
</div>
<div>
<p style="margin-top: 0; margin-bottom: 0">
Best, </p>
</div>
<div>
<p style="margin-top: 0; margin-bottom: 0">
Johanna<br><br> </p>
<div class="gmail_quote">
<p style="margin-top: 0; margin-bottom: 0">
On 22 September 2011 11:38, <span dir="ltr"><<a href="mailto:B.Mouthaan@neuro.umcn.nl">B.Mouthaan@neuro.umcn.nl</a>></span> wrote:<br> </p>
<blockquote class="gmail_quote" style="margin-left: 0; padding-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; border-left: 1px #ccc solid">
<div>
<p style="margin-top: 0; margin-bottom: 0">
<font size="2">Hello Fieldtrippers,<br style="font-size: 2"><br style="font-size: 2">Hello Fieldtrippers,<br style="font-size: 2"><br style="font-size: 2">For an assignment during my internship at the Radboud UMC, I want try to use fieldtrip for Beamforming at Auditory Evoked Potentials.<br style="font-size: 2">However the first step is unsuccesful. I try to load *.eeg , *.vhdr , *.vmrk and *.avr files but I receive multiple errors.<br style="font-size: 2"><br style="font-size: 2">I also tried to use the example script in the tutorial. However this doesn't work either. I get errors like:<br style="font-size: 2"><br style="font-size: 2"><br style="font-size: 2">??? Error using ==> ft_read_header at 86<br style="font-size: 2">file or directory 'heineken000003-kop.eeg' does not exist<br style="font-size: 2"><br style="font-size: 2">Error in ==> trialfun_general at 55<br style="font-size: 2">hdr = ft_read_header(cfg.headerfile, 'headerformat', cfg.headerformat);<br style="font-size: 2"><br style="font-size: 2">Error in ==> ft_definetrial at 161<br style="font-size: 2">[trl, event] = feval(cfg.trialfun, cfg);<br style="font-size: 2"><br style="font-size: 2"><br style="font-size: 2">Especially the directory error pops up frequently. I don't have a clue.<br style="font-size: 2">My script is like this:<br style="font-size: 2"><br style="font-size: 2">cfg = [];<br style="font-size: 2"><br style="font-size: 2">cfg.datafile = 'heineken000003.eeg';<br style="font-size: 2">cfg.headerfile = 'heineken000003.vhdr'<br style="font-size: 2"><br style="font-size: 2">cfg.trialdef.eventtype = '?';<br style="font-size: 2"><br style="font-size: 2">ft_definetrial(cfg)<br style="font-size: 2"><br style="font-size: 2"><br style="font-size: 2">Can anyone help me? FIY I lack experience of working with EEG and fieltrip, but I work with Matlab regularly.<br style="font-size: 2"><br style="font-size: 2">Hope to hear from you!<br style="font-size: 2"><br style="font-size: 2">Brian Mouthaan</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<br clear="all">
</p>
<div>
<p style="margin-top: 0; margin-bottom: 0; font-family: arial; font-size: 13px">
Het UMC St Radboud staat geregistreerd bij de Kamer van Koophandel in het handelsregister onder nummer 41055629.<br>The Radboud University Nijmegen Medical Centre is listed in the Commercial Register of the Chamber of Commerce under file number 41055629.<br> </p>
</div>
</div>
<p style="margin-top: 0; margin-bottom: 0">
<br>
_______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br><a target="_blank" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br> </p>
</blockquote>
</div>
<p style="margin-top: 0; margin-bottom: 0">
<br>
</p>
</div>
</body>
</html>