missing files, reshape

Ingrid Nieuwenhuis ingrid.nieuwenhuis at FCDONDERS.RU.NL
Tue Jan 15 12:41:59 CET 2008


Dear Louisa,

The second problem might also be related to the dof field. If there's a dof
field in the data, removing it might be a fix.

Best Ingrid

-----Original Message-----
From: FieldTrip discussion list [mailto:FIELDTRIP at NIC.SURFNET.NL] On Behalf
Of jan-mathijs schoffelen
Sent: Tuesday, January 15, 2008 12:20 PM
To: FIELDTRIP at NIC.SURFNET.NL
Subject: Re: [FIELDTRIP] missing files, reshape

Dear Luisa,

I put the missing GA_ERF_orig mat-file on the ftp-server. You can
access it at:

ftp://ftp.fcdonders.nl (username: anonymous, password: your e-mail
address). It's in the directory /pub/temporary.

As far as I can see, the second problem could be related to the fact
that you do not have the correct data. It might be solved when you
use the data in the mat-file.

Yours,

Jan-Mathijs



On Jan 11, 2008, at 1:47 PM, Luisa Frei wrote:

> Hi,
> I'm currently doing the fieldtrip tutorials and I have encountered
> 2 problems:
>
> 1. Some of the pre-calculated data files are missing. That's
> especially complicating for the Parametric and non-parametric
> statistics tutorial, because the whole tutorial relies on that
> file: GA_ERF_orig.mat
> I also don't have the files for the cluster-based permutation test
> tutorial. Does anyone know, where I can find them?
>
> 2. In the cluster-based permutation test tutorial I get an error
> with the reshape function at the end of  2.1.2.1. Here's the error
> text:
>
> >> [stat] = timelockstatistics(cfg, FICdata, FCdata);
> ??? Error using ==> reshape
> To RESHAPE the number of elements must not change.
>
> Error in ==> fieldtrip-20080107/private/
> prepare_timefreq_data>forcedimord at 674
>     output.dof=reshape(input.dof, Nrepl, Nfreq, Ntime);
>
> Error in ==> fieldtrip-20080107/private/prepare_timefreq_data at 172
>   [remember{c}, hascrsspctrm] = forcedimord(varargin{c});
>
> Error in ==> fieldtrip-20080107/private/statistics_wrapper at 199
>   [cfg, data] = prepare_timefreq_data(cfg, varargin{:});
>
> Error in ==> timelockstatistics at 107
> [stat] = statistics_wrapper(cfg, varargin{:});
>
>
> I didn't manage to fix this. Has anyone else encountered this and
> knows how to solve it? Any help would be greatly appreciated.
>
>
> Thanks,
> Luisa
> ----------------------------------
> The aim of this list is to facilitate the discussion between users
> of the FieldTrip  toolbox, to share experiences and to discuss new
> ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/
> archives/fieldtrip.html and http://www.ru.nl/fcdonders/fieldtrip.
>

----------------------------------
The aim of this list is to facilitate the discussion between users of the
FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG
and EEG analysis. See also
http://listserv.surfnet.nl/archives/fieldtrip.html and
http://www.ru.nl/fcdonders/fieldtrip.

----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/fcdonders/fieldtrip.



More information about the fieldtrip mailing list