[FieldTrip] creating new dataset
"Jörn M. Horschig"
jm.horschig at donders.ru.nl
Sun Sep 25 10:09:00 CEST 2011
Hi Jessie,
not quite sure what you are up to by saying that you do not want to use
ft_ functions for that (maybe I misunderstood that part). Of course you
could write your own loop, but the easier option would be to call
ft_channelselection on your data and then call ft_preprocessing (this
will return a new data-structure). See the help of these
ft_channelselection:
You can also exclude channels or channel groups using the following syntax
{'all', '-POz', '-Fp1', -EOG'}
From ft_preprocessing:
If you are callingFT_PREPROCESSING <http://fieldtrip.fcdonders.nl/reference/ft_preprocessing> with also the second input argument
"data", then that should contain data that was already read from file in
a previous call toFT_PREPROCESSING <http://fieldtrip.fcdonders.nl/reference/ft_preprocessing>. In that case only the configuration
options below apply.
The channels that will be read and/or preprocessed are specified with
cfg.channel = Nx1 cell-array with selection of channels (default = 'all'),
seeFT_CHANNELSELECTION <http://fieldtrip.fcdonders.nl/reference/ft_channelselection> for details
You could also use ft_selectdata instead of ft_preprocessing in case you
are handling already processed data (e.g. tfr-data ). Alternatively, you
can check ft_channelrepair for interpolating the bad channels.
Hope this all helps to what you are up to!
Best,
Jörn
On 9/24/2011 10:12 PM, Luo, Jessie (NIH/NIMH) [V] wrote:
> Hi,
>
> If there are bad channels (e.g. for a 4D system) in a dataset, Is it possible to create a new dataset by excluding them? I meant creating a NEW dataset without those channels (not by defining them using the ft_... in fieldtrip).
>
> Thanks,
>
> Jessie
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
--
Jörn M. Horschig
PhD Student
Donders Institute for Brain, Cognition and Behaviour
Centre for Cognitive Neuroimaging
Radboud University Nijmegen
Neuronal Oscillations Group
P.O. Box 9101
NL-6500 HB Nijmegen
The Netherlands
Contact:
E-Mail: jm.horschig at donders.ru.nl
Tel: +31-(0)24-36-68493
Web: http://www.ru.nl/donders
Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20110925/b6f0882f/attachment-0002.html>
More information about the fieldtrip
mailing list