[FieldTrip] Question on TFR analysis (Chungmin Han)

Es, M.W.J. van (Mats) M.vanEs at donders.ru.nl
Wed Oct 11 13:58:14 CEST 2017

Hi Chungmin,

You are right, it is not possible to make your contrast in a single step. It is not possible to do a baseline correction in ft_freqbaseline (also holds for ft_singleplotTFR etc.) when the baseline is time locked to a different event than the 'active' condition. In order to get the contrast you should get the TFR for both 'active' and 'baseline' condition, timelocked to the different events (by using ft_redefinetrial). You can then use ft_math to calculate the difference.

Good luck,
Mats van Es

-----Original Message-----
From: fieldtrip-bounces at science.ru.nl [mailto:fieldtrip-bounces at science.ru.nl] On Behalf Of fieldtrip-request at science.ru.nl
Sent: woensdag 11 oktober 2017 12:00
To: fieldtrip at science.ru.nl
Subject: fieldtrip Digest, Vol 83, Issue 6

Send fieldtrip mailing list submissions to
	fieldtrip at science.ru.nl

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
	fieldtrip-request at science.ru.nl

You can reach the person managing the list at
	fieldtrip-owner at science.ru.nl

When replying, please edit your Subject line so it is more specific than "Re: Contents of fieldtrip digest..."

Today's Topics:

   1. Question on TFR analysis (Chungmin Han)


Message: 1
Date: Tue, 10 Oct 2017 14:54:57 -0500
From: Chungmin Han <cmhan616 at utexas.edu>
To: fieldtrip at science.ru.nl
Subject: [FieldTrip] Question on TFR analysis
	<CAJqvd-45RYJw0poQh7FCadUjUbKCX1zOeKX9Aj0t7Aame4jroA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Dear all,
I'm Chungmin, graduate student in UT Austin,

and have a question TFR using fieldtrip,

my experiment has 2 triggers,
first one is Trial onset second trigger is the beginning of task with fixed time when subject trigger to begin task.

Thus there's varying time between 1st and 2nd trigger,

I need to analyze signal with fixed time window after 2nd trigger but need to take baseline right before 1st trigger because there's movement between 1st and 2nd,

is there a way I can set up baseline window in matrix form??
seems TFRanalysis allows single baseline time window settings not for varying time window,

I've also looked at redefine_trials, however, in this case, I'll have to put two inputs to calculate TFR, one as baselines only and the other task only.

.....if either of the methods is not possible, can I set up single baseline (e.g. resting state data)???

Any advice is appreciated Thank you,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20171010/732a0555/attachment-0001.html>


fieldtrip mailing list
fieldtrip at donders.ru.nl

End of fieldtrip Digest, Vol 83, Issue 6

More information about the fieldtrip mailing list