<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Bence, <br>
    </p>
    <p>the baseline should go into FFT's 0 Hz frequency coefficient,
      which is the mean of the analysis window<br>
    </p>
    <p>Best,</p>
    <p>    Jochem <br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 21.07.23 10:52, Bence Szaszkó via
      fieldtrip wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:FF541F9C-0FD0-4FD8-B8D9-8FC8FF7CAD8E@univie.ac.at">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div style="border: solid #003333 1.0pt; padding: 2.0pt 2.0pt
        2.0pt 2.0pt;">
        <p style="line-height: 10.0pt; background: #D5EAFF;"><span
            style="font-size: 10.0pt; font-family: 'Time new Roman';
            color: red;">ACHTUNG!</span><span style="font-size: 10.0pt;
            font-family: 'Time new Roman';"> Diese E-Mail kommt von
            Extern!
            <span style="color: #ff0000;">WARNING!</span> This email
            originated off-campus.<br>
          </span></p>
      </div>
      <div>Hello fellow FieldTrippers, 
        <div><br>
        </div>
        <div>I am analyzing steady-state data where I first had to
          select the first 10s after a certain event and then, within
          these 10s chunks, create regular epochs of 2s length using the
          pop_regepoch function of EEGlab. I did the spectral analysis
          with Fieldtrip and it went just fine; but now, I have to
          perform time-frequency analysis of the first 2s of those 10s
          chunks (so the first epoch in every chunk); however, due  to
          the limitations of pop_regepoch, I do not have a baseline, but
          only the 2s, with time 0 being the time-locking stimulus.</div>
        <div><br>
        </div>
        <div>So now, I cannot perform baseline correction on the data,
          as I do not have a baseline. Do you have any idea how to
          circumvent this? Keep in mind that the epoch before the epoch
          in question is not the preceding epoch in time, so we cannot
          use that unfortunately. Or is it okay to not correct the
          baseline at all? </div>
        <div><br>
        </div>
        <div>In the spectral analysis, I used a signal-to-noise ratio
          instead of raw or log power, where I divided the raw power of
          Frequency N through the sum of the raw powers of N-1, N-2, N+1
          and N+2. Would this also work for the time-frequency domain,
          doing this for each timepoint and channel?</div>
        <div><br>
        </div>
        <div>Kind regards,</div>
        <div>Bence<br>
          <div>
            <div dir="auto" style="caret-color: rgb(0, 0, 0); color:
              rgb(0, 0, 0); letter-spacing: normal; text-align: start;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;
              text-decoration: none; overflow-wrap: break-word;
              -webkit-nbsp-mode: space; line-break: after-white-space;">
              <div>-- <br>
                Bence Szaszkó, BSc MA MSc</div>
              <div>University Assistant (prae doc)</div>
              <div><br>
                Vienna Doctoral School CoBeNe </div>
              <div>PhD Representative<br>
                <br>
                University of Vienna<br>
                Faculty of Psychology<br>
                Department of Cognition, Emotion, and Methods in
                Psychology<br>
                <br>
                Liebiggasse 5<br>
                A-1010 Wien/Vienna<br>
                Austria<br>
                <br>
                e-mail: <a class="moz-txt-link-abbreviated" href="mailto:bence.szaszko@univie.ac.at">bence.szaszko@univie.ac.at</a></div>
            </div>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
fieldtrip mailing list
<a class="moz-txt-link-freetext" href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a>
<a class="moz-txt-link-freetext" href="https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!9Bzx6HVQ7cy8U4Fj1_ryRhdJHyQaBAGLmgwK689LespfiAzk2bfiFCnkieek8JuJRjcInyWwwHqpkDnWdkXP7Lzdqjk0yX8bVyRi$">https://doi.org/10.1371/journal.pcbi.1002202</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Jochem Rieger
Prof. Dr. rer. nat. habil.
Applied Neurocognitive Psychology
DFG Center for Open and Reproducible Neuroscience Tools
NFDI sections ELSA and metadata 

Carl-von-Ossietzky University Oldenburg
Phone: +49 (0)441 798 4533
Web: <a class="moz-txt-link-freetext" href="https://urldefense.com/v3/__https://uol.de/en/applied-neurocognitive-psychology__;!!HJOPV4FYYWzcc1jazlU!9Bzx6HVQ7cy8U4Fj1_ryRhdJHyQaBAGLmgwK689LespfiAzk2bfiFCnkieek8JuJRjcInyWwwHqpkDnWdkXP7Lzdqjk0yUlU3dEX$">https://uol.de/en/applied-neurocognitive-psychology</a>
github: <a class="moz-txt-link-freetext" href="https://urldefense.com/v3/__https://github.com/ANCPLabOldenburg__;!!HJOPV4FYYWzcc1jazlU!9Bzx6HVQ7cy8U4Fj1_ryRhdJHyQaBAGLmgwK689LespfiAzk2bfiFCnkieek8JuJRjcInyWwwHqpkDnWdkXP7Lzdqjk0yQ_cVCVt$">https://github.com/ANCPLabOldenburg</a>
</pre>
  </body>
</html>