<div dir="ltr">Dear Eelke,<div><br></div><div>I've put up an exerpt of my code, with the data from a single subject (no.10, 9MB) in a separate folder <a href="https://www.dropbox.com/sh/nr4s0yu4voh5w3l/6XvAvmaMdk">here</a>.</div>
<div>It also includes a screenshot of what I see with when I run the code with this exact dataset, and a small program 'filehandler', which I've been to lazy to replace.</div><div><br></div><div>Note that this specific subject only has about 60 seconds of data (and I'm still waiting for the student to tell me why).</div>
<div><br></div><div>I'm hoping you'll get the same result as the screenshot, and you'll be able to tell me why...</div><div><br></div><div>Best regards,</div><div><br></div><div>Casper</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Sep 18, 2013 at 1:25 PM, Eelke Spaak <span dir="ltr"><<a href="mailto:eelke.spaak@donders.ru.nl" target="_blank">eelke.spaak@donders.ru.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Casper,<br>
<br>
Could you maybe post a snippet online somewhere (e.g. dropbox) of data<br>
corresponding to this plot (i.e. the output of ft_freqanalysis that<br>
you input to ft_singleplotTFR, assuming that it's averaged over trials<br>
and therefore small)? Then we can see whether this is reproducable on<br>
our systems.<br>
<br>
Best,<br>
Eelke<br>
<div><div class="h5"><br>
On 16 September 2013 17:12, Casper van Heck <<a href="mailto:caspervanheck@gmail.com">caspervanheck@gmail.com</a>> wrote:<br>
> Dear Fieldtrippers,<br>
><br>
> I've been doing some exploratory plotting of a dataset where several<br>
> subjects were exposed to a continuous stimulus (CPM) over the course of<br>
> three minutes. One of the things that was asked was a time-frequency plot,<br>
> over those three minutes. While I'm not quite sure a TFR can be used on that<br>
> scale without problems, I went ahead with it just to see what Fieldtrip<br>
> would do. What I got, was this:<br>
> <a href="http://tinypic.com/r/zx2tqs/5|" target="_blank">http://tinypic.com/r/zx2tqs/5|</a><br>
> And I have no idea what went wrong (note that this specific subject only got<br>
> a 60s stimulus). Quality of the picture and the validity of the analysis<br>
> aside, I have a severe problem with the axes, which seem to be all over the<br>
> place.<br>
><br>
> I simply read the data using ft_preprocessing (no filters or anything, since<br>
> the student in charge already used a 10Hz high-pass and a 150Hz low-pass<br>
> filter).<br>
> The only field in 'cfg' is 'headerfile'.<br>
><br>
> Next, I call ft_freqanalysis with:<br>
> cfg.output = 'pow';<br>
> cfg.method = 'wavelet'; % default; Morlet wavelet<br>
> cfg.taper = 'hanning';<br>
> cfg.tapsmofrq = 4;<br>
> cfg.channel = 'Cz';<br>
> cfg.foi = [20:0.5:30];<br>
> cfg.t_ftimwin = ones(length(cfg.foi),1).*0.25;<br>
> cfg.toi = 0:0.5:60;<br>
><br>
> And finally, I end up with the monstrocity shown earlier. This problem only<br>
> presents itself with Fieldtrip-related functions, the normal Matlab-plots<br>
> work as well as they've ever done, so I'm thinking it's something in<br>
> Fieldtrip that's causing this.<br>
><br>
> My hope is that someone has encountered this problem before, and knows how<br>
> to solve it...<br>
><br>
> Sincerely,<br>
><br>
> Casper<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> fieldtrip mailing list<br>
> <a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
> <a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
</blockquote></div><br></div>