[FieldTrip] Queries using GRAD

Schoffelen, J.M. (Jan Mathijs) jan.schoffelen at donders.ru.nl
Mon May 16 19:42:44 CEST 2016

Hi Laxmi,

Why do you think that your current problem is caused by the ‘grad’ field in GA_FC?
The error message you get suggests otherwise (it actually suggests that the data you use as an input to ft_topoplotER is not recognized as a properly formatted fieldtrip data structure), and indicates that the variable STR_eEPDC is internally inconsistent. The most likely cause of this is that the fields that describe the physical interpretation of the numeric data fields is not in line with the size of the data.

Here’s a link that describes the type of data that (I think) you try to use as an input to the plotting routine:

http://www.fieldtriptoolbox.org/reference/ft_datatype_timelock , but perhaps you also would like to look into http://www.fieldtriptoolbox.org/reference/ft_datatype_freq

Here’s a link that describes the grad-structure (although I don’t think that you need this):



> On 16 May 2016, at 18:27, Laxmi Shaw <laxmi.shaw22 at gmail.com> wrote:
> Dear Fieldtrip maillist,
> I am facing problem regarding the online available data of GA_FC, TFRhann and avg_FC.
> These files contain the structure field named grad.
> I am unable to understand the construction of this grad.
> I am getting the following errors while using our data set with that grad files.
> The errors are mentioned below:
> Error using fixdimord (line 85)
> the data does not contain a dimord, but it also does not resemble raw or component data
> Error in ft_datatype_timelock (line 80)
> timelock = fixdimord(timelock);
> Error in ft_checkdata (line 221)
>   data = ft_datatype_timelock(data);
> Error in topoplot_common (line 74)
> data = ft_checkdata(data, 'datatype', {'comp', 'timelock', 'freq'});
> Error in ft_topoplotER (line 195)
> cfg = topoplot_common(cfg, varargin{:});
> Error in trial_3 (line 14)
> ft_topoplotER(cfg,STR_eEPDC); colorbar;
> Your help is always appreciated.
> Thanks and regards
> -- 
> Laxmi Shaw
> Research Scholar(PhD)
> IIT Kharagpur
> West Bengal
> Ph no-08388837821
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

More information about the fieldtrip mailing list