[FieldTrip] How to obtain all trials data?

Reo Inoue inouereo0406 at gmail.com
Thu Nov 5 13:11:58 CET 2015


Dear all, Steve
I use ft_timelockanalysis before ft_sourceanalysis. I also use cfg.keeptrials='yes' there.
All the best



2015-11-05 20:06 GMT+09:00 Stephen Politzer-Ahles < stephen.politzer-ahles at ling-phil.ox.ac.uk > :
Hello Reo,

What was the format of the timelock data structure you supplied to
ft_sourceanalysis()? i.e., when you called ft_timelockanalysis() to create the
timelock structure earlier, did you also use cfg.keeptrials='yes' there? If not,
then your timelock structure would be an average (rather than all trials), and
thus the source data you get would also be averaged across trials.

Best,
Steve


---
Stephen Politzer-Ahles
University of Oxford
Language and Brain Lab, Faculty of Linguistics, Phonetics & Philology
http://users.ox.ac.uk/~ cpgl0080/

Message: 3
Date: Wed, 04 Nov 2015 23:15:50 +0000
From: Reo Inoue < inouereo0406 at gmail.com >
To: fieldtrip at science.ru.nl
Subject: [FieldTrip] How to obtain all trials data?
Message-ID: < 1446678950846-66347c9d- 4c1fc339-4b7068ac at mixmax.com >
Content-Type: text/plain; charset="us-ascii"; Format="flowed"

Dear all,

I use function; ft_sourceanalysis following. [source] = ft_sourceanalysis(cfg,
timelock)
And I want to obtain the all trials data, not average. But I could not
understand why i obtain the average. My config is following. Are there any
problems?
cfg=[]; cfg.method = 'eloreta'; cfg.jackknife = 'no';%'no' or 'yes' jackknife
resampling of trials
cfg.pseudovalue = 'no';%'no' or 'yes' pseudovalue resampling of trials
cfg.bootstrap = 'no';%'no' or 'yes' bootstrap resampling of trials
cfg.numbootstrap = 1;%%number of bootstrap replications (e.g. number of
original trials) cfg.keeptrials='yes'; cfg.vol =vol; %structure with volume
conduction model, see FT_PREPARE_HEADMODEL cfg.elec =elec;%structure with
electrode positions, see FT_DATATYPE_SENS [source{SouInd,1}] =
ft_sourceanalysis(cfg, timelock);


Thanks a lot in advance,
All the best,

______________________________ _________________
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/20151105/34d5c0a0/attachment-0001.html>


More information about the fieldtrip mailing list