<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello girls and guys,<br>
    <br>
    It is working for my CTF MEG data - the version that I have is v4692
    2011-11-07.<br>
    <br>
    The other thing that might cause a problem could be ommiting the
    reference channels definition before the ft_ preprocessing command
    that gave you your "dataprepro"<br>
    <br>
    i.e maybe you might  need something like this <br>
    <br>
    cfg = [];<br>
    <br>
    ...<br>
    //various preprocessing parameters<br>
    ...<br>
    <br>
    cfg.channel            = {'MEG', 'MEGREF', 'REFGRAD' , 'REFMAG'};<br>
    <br>
    dataprepro = ft_preprocessing(cfg);<br>
    <br>
    <br>
    Hope you are lucky :)<br>
    <br>
    Best,<br>
    Panagiotis<br>
    <br>
    <br>
    On 4/16/2012 4:59 PM, Stan van Pelt wrote:
    <blockquote
cite="mid:95345142.24585.1334588365133.JavaMail.root@sculptor.zimbra.ru.nl"
      type="cite">
      <style type="text/css">p { margin: 0; }</style>
      <div style="font-family: Times New Roman; font-size: 12pt; color:
        #000000">
        <div>Hi Barbara,</div>
        <div><br>
        </div>
        <div>I can replicate your finding, but am unsure what is causing
          it. Maybe the difference/correction is lower than the Matlab
          or CTF precision? In any case, if the 3rd order gradients were
          on, ft_denoise_synthetic would undo the G3BR-balancing, ergo
          it toggles.</div>
        <div><br>
        </div>
        <div>Best,</div>
        <div>Stan</div>
        <div><br>
          <br>
          <hr id="zwchr">
          <blockquote style="border-left:2px solid rgb(16, 16,
            255);margin-left:5px;padding-left:5px;"><b>Van: </b>"Michael
            Wibral" <a class="moz-txt-link-rfc2396E" href="mailto:michael.wibral@web.de"><michael.wibral@web.de></a><br>
            <b>Aan: </b>"Email discussion list for the FieldTrip
            project" <a class="moz-txt-link-rfc2396E" href="mailto:fieldtrip@donders.ru.nl"><fieldtrip@donders.ru.nl></a><br>
            <b>Verzonden: </b>Maandag 16 april 2012 16:46:27<br>
            <b>Onderwerp: </b>Re: [FieldTrip] ft_denoise_synthetic 3rd
            order grad<br>
            <br>
            Hi Barbara,<br>
            <br>
            are you certain that the original data do not have 3rd
            gradients enabled? - looking at them once in dataEditor,
            switching to 3rd grads and accidentally forgetting to
            unclick 'save parameters with dataset' will make them have
            3rd grads...<br>
            <br>
            When I last used ft_denoise_synthetic it worked pretty much
            as described (??).<br>
            <br>
            Michael<br>
            <br>
            <div style="margin:10px 5px 5px 10px; padding: 10px 0 10px
              10px; border-left:2px solid #C3D9E5; word-wrap:
              break-word; -webkit-nbsp-mode: space; -webkit-line-break:
              after-white-space;">
              <div style="margin:0 0 10px 0;"> <b>Gesendet:</b> Montag,
                16. April 2012 um 15:56 Uhr<br>
                <b>Von:</b> "Barbara Haendel" <a class="moz-txt-link-rfc2396E" href="mailto:B.Haendel@gmx.net"><B.Haendel@gmx.net></a><br>
                <b>An:</b> <a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
                <b>Betreff:</b> [FieldTrip] ft_denoise_synthetic 3rd
                order grad </div>
              <div> <br>
                Dear fieldtrip users,<br>
                <br>
                has anyone experience in using ft_denoise_synthetic? If
                I try to calculate 3rd order grads in the below
                specified way the data does not change with respect to
                the input data (which has no synthetic gradiometer
                applied). Is there some obvious misunderstanding on my
                side of how to use this function or is our environment
                truly noiseless :)<br>
                <br>
                Cheers,<br>
                Barbara<br>
                <br>
                cfg=[]; <br>
                cfg.gradient ='G3BR';<br>
                cfg.trials = 'all';<br>
                data_3rdorder = ft_denoise_synthetic(cfg, dataprepro);<br>
                <br>
                <br>
                >> data_3rdorder.grad.balance<br>
                <br>
                ans = <br>
                <br>
                G1BR: [1x1 struct]<br>
                G2BR: [1x1 struct]<br>
                G3BR: [1x1 struct]<br>
                current: 'G3BR'<br>
                previous: {'none'}<br>
                <br>
                >>
                sum(dataprepro.trial{8}(30,:)-data_3rdorder.trial{8}(30,:))<br>
                <br>
                ans = 0<br>
                <br>
                -- <br>
                NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone! <br>
                Jetzt informieren: <a moz-do-not-send="true"
                  href="http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a"
                  target="_blank">http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a</a><br>
                _______________________________________________<br>
                fieldtrip mailing list<br>
                <a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
                <a moz-do-not-send="true"
                  href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip"
                  target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
              </div>
            </div>
            <br>
            <br>
            _______________________________________________<br>
            fieldtrip mailing list<br>
            <a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
            <a class="moz-txt-link-freetext" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></blockquote>
          <br>
          <br>
          <br>
          -- <br>
          <div><span name="x"></span>Stan van Pelt<br>
            <br>
            Donders Institute for Brain, Cognition and Behaviour,
            Radboud University Nijmegen<br>
            Kapittelweg 29, 6525 EN Nijmegen, Netherlands<br>
            E-mail:  <a class="moz-txt-link-abbreviated" href="mailto:stan.vanpelt@donders.ru.nl">stan.vanpelt@donders.ru.nl</a><br>
            Website: <a class="moz-txt-link-abbreviated" href="http://www.ru.nl/donders/">www.ru.nl/donders/</a><br>
            Phone:  (+31) (0)24 36 10981<br>
            Fax:    (+31) (0)24 36 10989<span name="x"></span><br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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">-- 
Panagiotis S. Tsiatsis
Max Planck Institute for Biological Cybernetics
Cognitive NeuroImaging Group
Tuebingen, Germany</pre>
  </body>
</html>