<html><head><base href="x-msg://89/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Sain,<div><br></div><div><div><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; 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 class="hmmessage" style="font-size: 10pt; font-family: Tahoma; "><font face="Verdana">ERSP plots are not displayed according to my epoch lenght. It only displayes ERSP for the time points computed above (red text in bold). Indeed it should compute for the range -500 to 1000 ms. Where can I fix this parameter?<br></font></div></span></blockquote><div><br></div><div><br></div><div>You cannot. To compute time-frequency decompositions, it is necessary to extract time windows. The latency of each time-frequency estimate corresponds to the center of each of these windows. Therefore it is not possible to obtain a time-frequency estimate at -500 ms (it would mean that your window size is 1 sample and it does not make sense to perform FFT or wavelet decomposition on a single sample). For instance, assuming data limits of -500 ms to +1000 millisecond, a sampling frequency of 1000 Hz (1000 samples per second), and a window size of 500 samples, the earliest time-frequency estimate may be obtained at -250 ms latency (-500 ms is -500 samples compared to the time-locking event and the first window spam from latency -500 ms to 0 ms and has its center at -250 ms). Hope it makes more sense.</div><div><br></div><div><br></div><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; 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 class="hmmessage" style="font-size: 10pt; font-family: Tahoma; "><font face="Verdana">Moreover, my data is already bandpass filtered from 1 to 30 Hz but it computes frequencies from 3 Hz to 128 Hz. How to confine computation from 1 to 30 Hz. </font></div></span></blockquote><div><br></div><div><br></div><div>Use the 'freqs' option of the newtimef function (or enter [1 30] for the frequency limit in the graphic interface).</div><div><br></div><div>Best regards,</div><div><br></div><div>Arno</div><div><br></div></div></div></body></html>