[FieldTrip] Problem solved, Vol 10, Issue 30, directory issue

B.Mouthaan at neuro.umcn.nl B.Mouthaan at neuro.umcn.nl
Thu Sep 22 15:20:47 CEST 2011


Thank you all for your fast responses! 
The problem was solved. My directory set-up was incorrect. The data was unable to be loaded because I filed this in a subfolder. I place all data loose (not in a subfolder), in the same directory were I have my script.

Again, thanks!  


-----Oorspronkelijk bericht-----
Van: fieldtrip-bounces at donders.ru.nl namens fieldtrip-request at donders.ru.nl
Verzonden: do 22-9-2011 12:00
Aan: fieldtrip at donders.ru.nl
Onderwerp: fieldtrip Digest, Vol 10, Issue 30
 
Send fieldtrip mailing list submissions to
	fieldtrip at donders.ru.nl

To subscribe or unsubscribe via the World Wide Web, visit
	http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
or, via email, send a message with subject or body 'help' to
	fieldtrip-request at donders.ru.nl

You can reach the person managing the list at
	fieldtrip-owner at donders.ru.nl

When replying, please edit your Subject line so it is more specific
than "Re: Contents of fieldtrip digest..."


Today's Topics:

   1. loading brainvision data (B.Mouthaan at neuro.umcn.nl)
   2. Re: loading brainvision data (jan-mathijs schoffelen)
   3. Re: loading brainvision data (Johanna Zumer)


----------------------------------------------------------------------

Message: 1
Date: Thu, 22 Sep 2011 11:38:04 +0200
From: <B.Mouthaan at neuro.umcn.nl>
To: <fieldtrip at donders.ru.nl>
Subject: [FieldTrip] loading brainvision data
Message-ID: <C1B628236A6B6B4AA11AE3022559568494D9A7 at UMCEXBE04.umcn.nl>
Content-Type: text/plain; charset="iso-8859-1"

Hello Fieldtrippers,

Hello Fieldtrippers,

For an assignment during my internship at the Radboud UMC, I want try to use fieldtrip for Beamforming at Auditory Evoked Potentials.
However the first step is unsuccesful. I try to load *.eeg , *.vhdr , *.vmrk and *.avr files but I receive multiple errors.

I also tried to use the example script in the tutorial. However this doesn't work either. I get errors like:


??? Error using ==> ft_read_header at 86
file or directory 'heineken000003-kop.eeg' does not exist

Error in ==> trialfun_general at 55
hdr = ft_read_header(cfg.headerfile, 'headerformat', cfg.headerformat);

Error in ==> ft_definetrial at 161
    [trl, event] = feval(cfg.trialfun, cfg);


Especially the directory error pops up frequently. I don't have a clue.
My script is like this:
 
cfg = [];

cfg.datafile     = 'heineken000003.eeg';
cfg.headerfile   = 'heineken000003.vhdr'

cfg.trialdef.eventtype = '?';   

ft_definetrial(cfg)


Can anyone help me? FIY I lack experience of working with EEG and fieltrip, but I work with Matlab regularly.

Hope to hear from you!

Brian Mouthaan



Het UMC St Radboud staat geregistreerd bij de Kamer van Koophandel in het handelsregister onder nummer 41055629.
The Radboud University Nijmegen Medical Centre is listed in the Commercial Register of the Chamber of Commerce under file number 41055629.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20110922/da97f476/attachment-0001.html>

------------------------------

Message: 2
Date: Thu, 22 Sep 2011 11:43:28 +0200
From: jan-mathijs schoffelen <jan.schoffelen at donders.ru.nl>
To: Email discussion list for the FieldTrip project
	<fieldtrip at donders.ru.nl>
Subject: Re: [FieldTrip] loading brainvision data
Message-ID: <7CF81136-AB84-40AB-9CF9-17DEA36F61A9 at donders.ru.nl>
Content-Type: text/plain; charset="us-ascii"

Hi Brian,

Are you in the correct directory? In other words is your 'pwd' such that you can see the files when you type 'dir'?

BW,

JM

On Sep 22, 2011, at 11:38 AM, <B.Mouthaan at neuro.umcn.nl> <B.Mouthaan at neuro.umcn.nl> wrote:

> Hello Fieldtrippers,
> 
> Hello Fieldtrippers,
> 
> For an assignment during my internship at the Radboud UMC, I want try to use fieldtrip for Beamforming at Auditory Evoked Potentials.
> However the first step is unsuccesful. I try to load *.eeg , *.vhdr , *.vmrk and *.avr files but I receive multiple errors.
> 
> I also tried to use the example script in the tutorial. However this doesn't work either. I get errors like:
> 
> 
> ??? Error using ==> ft_read_header at 86
> file or directory 'heineken000003-kop.eeg' does not exist
> 
> Error in ==> trialfun_general at 55
> hdr = ft_read_header(cfg.headerfile, 'headerformat', cfg.headerformat);
> 
> Error in ==> ft_definetrial at 161
>     [trl, event] = feval(cfg.trialfun, cfg);
> 
> 
> Especially the directory error pops up frequently. I don't have a clue.
> My script is like this:
> 
> cfg = [];
> 
> cfg.datafile     = 'heineken000003.eeg';
> cfg.headerfile   = 'heineken000003.vhdr'
> 
> cfg.trialdef.eventtype = '?';  
> 
> ft_definetrial(cfg)
> 
> 
> Can anyone help me? FIY I lack experience of working with EEG and fieltrip, but I work with Matlab regularly.
> 
> Hope to hear from you!
> 
> Brian Mouthaan
> 
> 
> Het UMC St Radboud staat geregistreerd bij de Kamer van Koophandel in het handelsregister onder nummer 41055629.
> The Radboud University Nijmegen Medical Centre is listed in the Commercial Register of the Chamber of Commerce under file number 41055629.
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

Jan-Mathijs Schoffelen, MD PhD 
Donders Institute for Brain, Cognition and Behaviour, 
Centre for Cognitive Neuroimaging,
Radboud University Nijmegen, The Netherlands
J.Schoffelen at donders.ru.nl
Telephone: +31-24-3614793

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20110922/c4a300f5/attachment-0001.html>

------------------------------

Message: 3
Date: Thu, 22 Sep 2011 11:48:11 +0200
From: Johanna Zumer <johanna.zumer at donders.ru.nl>
To: Email discussion list for the FieldTrip project
	<fieldtrip at donders.ru.nl>
Subject: Re: [FieldTrip] loading brainvision data
Message-ID:
	<CAL4kA6fVOpSEP9ENxx9gMDijP9vyirwv-4wsnhH=4kpy9Q0YEg at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi Brian,
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.

Best,
Johanna

On 22 September 2011 11:38, <B.Mouthaan at neuro.umcn.nl> wrote:

> **
>
> Hello Fieldtrippers,
>
> Hello Fieldtrippers,
>
> For an assignment during my internship at the Radboud UMC, I want try to
> use fieldtrip for Beamforming at Auditory Evoked Potentials.
> However the first step is unsuccesful. I try to load *.eeg , *.vhdr ,
> *.vmrk and *.avr files but I receive multiple errors.
>
> I also tried to use the example script in the tutorial. However this
> doesn't work either. I get errors like:
>
>
> ??? Error using ==> ft_read_header at 86
> file or directory 'heineken000003-kop.eeg' does not exist
>
> Error in ==> trialfun_general at 55
> hdr = ft_read_header(cfg.headerfile, 'headerformat', cfg.headerformat);
>
> Error in ==> ft_definetrial at 161
>     [trl, event] = feval(cfg.trialfun, cfg);
>
>
> Especially the directory error pops up frequently. I don't have a clue.
> My script is like this:
>
> cfg = [];
>
> cfg.datafile     = 'heineken000003.eeg';
> cfg.headerfile   = 'heineken000003.vhdr'
>
> cfg.trialdef.eventtype = '?';
>
> ft_definetrial(cfg)
>
>
> Can anyone help me? FIY I lack experience of working with EEG and fieltrip,
> but I work with Matlab regularly.
>
> Hope to hear from you!
>
> Brian Mouthaan
>
>  Het UMC St Radboud staat geregistreerd bij de Kamer van Koophandel in het
> handelsregister onder nummer 41055629.
> The Radboud University Nijmegen Medical Centre is listed in the Commercial
> Register of the Chamber of Commerce under file number 41055629.
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20110922/6b3afe1a/attachment-0001.html>

------------------------------

_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl
http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

End of fieldtrip Digest, Vol 10, Issue 30
*****************************************





Het UMC St Radboud staat geregistreerd bij de Kamer van Koophandel in het handelsregister onder nummer 41055629.
The Radboud University Nijmegen Medical Centre is listed in the Commercial Register of the Chamber of Commerce under file number 41055629.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 5858 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20110922/7538bde3/attachment-0001.bin>


More information about the fieldtrip mailing list