<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Jessie,<div><br></div><div>FieldTrip is not able to write back into the native 4D neuroimaging format. If you want to create a new dataset, you need to have a look at the software which is provided by the 4D neuroimaging company. Your requested functionality may either be a feature of one of the applications, or may be implemented in one of the command line utilities. You may want to look in the software documentation for this.</div><div><br></div><div>Best wishes,</div><div><br></div><div>Jan-Mathijs</div><div><br><div><div>On Sep 26, 2011, at 4:11 PM, Luo, Jessie (NIH/NIMH) [V] wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Thanks for your answer Jörn . Yes I can use those functions to 'exlucde', but these definitions cannot be read by other software. What is why I intended to create a new dataset. Looks like fieldtrip does not allow that...<br><br>Jessie<br>________________________________________<br>From: "Jörn M. Horschig" [jm.horschig@donders.ru.nl]<br>Sent: Sunday, September 25, 2011 4:09 AM<br>To: Email discussion list for the FieldTrip project<br>Subject: Re: [FieldTrip] creating new dataset<br><br>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><br>You can also exclude channels or channel groups using the following syntax<br> {'all', '-POz', '-Fp1', -EOG'}<br><br><br><br><br><blockquote type="cite">From ft_preprocessing:<br></blockquote><br>If you are calling FT_PREPROCESSING<<a href="http://fieldtrip.fcdonders.nl/reference/ft_preprocessing">http://fieldtrip.fcdonders.nl/reference/ft_preprocessing</a>> with also the second input argument<br> "data", then that should contain data that was already read from file in<br> a previous call to FT_PREPROCESSING<<a href="http://fieldtrip.fcdonders.nl/reference/ft_preprocessing">http://fieldtrip.fcdonders.nl/reference/ft_preprocessing</a>>. In that case only the configuration<br> options below apply.<br><br> The channels that will be read and/or preprocessed are specified with<br> cfg.channel = Nx1 cell-array with selection of channels (default = 'all'),<br> see FT_CHANNELSELECTION<<a href="http://fieldtrip.fcdonders.nl/reference/ft_channelselection">http://fieldtrip.fcdonders.nl/reference/ft_channelselection</a>> for details<br><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:<br><br>Hi,<br><br>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).<br><br>Thanks,<br><br>Jessie<br>_______________________________________________<br>fieldtrip mailing list<br>fieldtrip@donders.ru.nl<<a href="mailto:fieldtrip@donders.ru.nl">mailto:fieldtrip@donders.ru.nl</a>><br><a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br><br><br><br><br>--<br>Jörn M. Horschig<br>PhD Student<br>Donders Institute for Brain, Cognition and Behaviour<br>Centre for Cognitive Neuroimaging<br>Radboud University Nijmegen<br>Neuronal Oscillations Group<br><br>P.O. Box 9101<br>NL-6500 HB Nijmegen<br>The Netherlands<br><br>Contact:<br>E-Mail: jm.horschig@donders.ru.nl<mailto:jm.horschig@donders.ru.nl><br>Tel: +31-(0)24-36-68493<br>Web: http://www.ru.nl/donders<br><br>Visiting address:<br>Trigon, room 2.30<br>Kapittelweg 29<br>NL-6525 EN Nijmegen<br>The Netherlands<br><br><br>_______________________________________________<br>fieldtrip mailing list<br>fieldtrip@donders.ru.nl<br>http://mailman.science.ru.nl/mailman/listinfo/fieldtrip<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Jan-Mathijs Schoffelen, MD PhD </div><div>Donders Institute for Brain, Cognition and Behaviour, <br>Centre for Cognitive Neuroimaging,<br>Radboud University Nijmegen, The Netherlands</div><div><a href="mailto:J.Schoffelen@donders.ru.nl">J.Schoffelen@donders.ru.nl</a></div><div>Telephone: +31-24-3614793</div></div></span></div></span></div></span></span>
</div>
<br></div></body></html>