[FieldTrip] more on artfifact rejection
michael.wibral at web.de
Mon Jan 24 11:48:47 CET 2011
I am a bit unsure how to proceed:
(1) sketch the artifact correction way like this
ft-definetrial -> artifact.XXX.YYY -> ft_rejectartifact -> ft_preprocessing
(2) ft-definetrial -> ft_preprocessing (with cfg.padding) -> artifact.XXX.YYY -> ft_rejectartifact(cfg, data) -> ft_preprocessing.
I think I should go for option (1) as this seems to be the standard use on continuous data. Sometime in the futrure one should then add a tutorial for those that have data in trials to start with.
Von: "jan-mathijs schoffelen" <jan.schoffelen at donders.ru.nl>
Gesendet: Jan 21, 2011 9:55:48 AM
An: "Email discussion list for the FieldTrip project" <fieldtrip at donders.ru.nl>
Betreff: Re: [FieldTrip] more on artfifact rejection
>Yes, I agree with you here as well. In principle the
>ft_artifact_zvalue supports data as a second input argument, but in
>such case the different types of padding in the cfg do not make sense.
>I would indeed remove the second input arguments in the example code
>snippets. Could I ask you to take care of that?
>On Jan 20, 2011, at 10:51 AM, Michael Wibral wrote:
>> Deal Fieldtrip users,
>> there is something else I do not understand in the tutorial: if you
>> read in the data in trials (as it is done) how can you do padding
>> later as it is suggested. I tried to run the example code on teh
>> website reading in the data such that it contains trials. If I then
>> try to search for muscle artifacts I get the 'subscript indices must
>> be positive or logical ... values', indicating that the code tries
>> to access data that aren't there. If I set the padding to zero
>> (instead of 0.1) it works. So I am wondering wether somehow one
>> should actually run these things on continuous data (contrary to
>> what is indicated in the tutorial)?
>> <Michael Wibral.vcf><Michael
>> fieldtrip mailing list
>> fieldtrip at donders.ru.nl
>Dr. J.M. (Jan-Mathijs) Schoffelen
>Donders Institute for Brain, Cognition and Behaviour,
>Centre for Cognitive Neuroimaging,
>Radboud University Nijmegen, The Netherlands
>J.Schoffelen at donders.ru.nl
>fieldtrip mailing list
>fieldtrip at donders.ru.nl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Michael Wibral.vcf
Size: 637 bytes
Desc: not available
More information about the fieldtrip