<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi Ulla,<DIV><BR class="khtml-block-placeholder"><DIV><DIV><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">1. Is there a way to get rid of boundary effects for low frequencies. The boundary is moving but it is not disappearing.</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>You can't get rid of boundary effects as such. However, you could use a longer window in your time-frequency analysis and then only plot the part of the window without the edge effects.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2. The output is very grainy i.e. so called pixels are big and sharp edged even with<SPAN class="Apple-converted-space">  </SPAN>as high tapsmofrq as is possible with available memory. Is there a way to make the output prettier ?</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The "pixels" are partly determined by the size of the time-frequency tiles (whose and their size is determined by the width of your time-window and frequency band at each point in your TFR) and the degree of overlap between the tiles. If you want to make things look "smoother" then you could try increasing the time resolution (spacing between windows) and the temporal smoothing (size of each window), and do the same for the frequency axis.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">3. TopoplotTFR is not functioning. It only draws a blank figure. MultiplotTFR and singleplotTFR function perfectly. I use .grad generated layout for 306 channel Neuromag.</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>I have made a small change to the function PREPARE_LAYOUT which should fix the problem in TOPOPLOTTFR. The new version will be available with the daily update this evening at approximately 22:00 CET (and is also attached).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The layout stuff has been undergoing some changes recently, and at present there does not really seem to be an appropriate way of passing a "pre-prepared, grad-generated" layout structure to the plotting functions. Currently, provided the gradiometer information is either in cfg.grad or in dat.grad, the plotting functions will automatically generate a layout structure using lay = prepare_layout(cfg, dat) every time they are called.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>As a sort of compromise, you are (for the time being at least) allowed to put the pre-computed layout structure in cfg.layout, when you call TOPOPLOTTFR and it should work. In the future, I expect that an additional field for pre-computed layout structures might be added at some point.</DIV><DIV><BR class="khtml-block-placeholder"></DIV>Regards,</DIV><DIV>Christian</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN></SPAN></DIV></DIV></BODY></HTML>