<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Jessie,<br>
<br>
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:<br>
<pre>You can also exclude channels or channel groups using the following syntax
{'all', '-POz', '-Fp1', -EOG'}
</pre>
From ft_preprocessing:<br>
<pre>If you are calling <a title="" href="http://fieldtrip.fcdonders.nl/reference/ft_preprocessing"><font color="green">FT_PREPROCESSING</font></a> with also the second input argument
"data", then that should contain data that was already read from file in
a previous call to <a title="" href="http://fieldtrip.fcdonders.nl/reference/ft_preprocessing"><font color="green">FT_PREPROCESSING</font></a>. 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'),
see <a title="" href="http://fieldtrip.fcdonders.nl/reference/ft_channelselection"><font color="green">FT_CHANNELSELECTION</font></a> for details</pre>
<br>
<br>
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. <br>
<br>
Hope this all helps to what you are up to!<br>
Best,<br>
Jörn<br>
<br>
On 9/24/2011 10:12 PM, Luo, Jessie (NIH/NIMH) [V] wrote:
<blockquote
cite="mid:D56D6A723C413C4DB8E608ED137EC6A20D2A8F07C8@NIHMLBX12.nih.gov"
type="cite">
<pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>
<a class="moz-txt-link-freetext" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
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: <a class="moz-txt-link-abbreviated" href="mailto:jm.horschig@donders.ru.nl">jm.horschig@donders.ru.nl</a>
Tel: +31-(0)24-36-68493
Web: <a class="moz-txt-link-freetext" href="http://www.ru.nl/donders">http://www.ru.nl/donders</a>
Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands</pre>
</body>
</html>