Print

Print


The easiest way to do this is to break the block into 25 1s duration events. To do this, your onsets will be something like:
[1 2 3 4 5 6 7 ... 25] and your duration will be 1.

Then choose parametric modulation and enter a vector that is defined as 1:1:25. If you have more than 25 events per run, you can use: repmat([1:1:25]',N,1)
where N is the number of events/25 which should be a whole number.

Hope this helps. Let me know if it is still not clear.

Best Regards, Donald McLaren
=================
D.G. McLaren, Ph.D.
Postdoctoral Research Fellow, GRECC, Bedford VA
Research Fellow, Department of Neurology, Massachusetts General Hospital and Harvard Medical School
Office: (773) 406-2464
=====================
This e-mail contains CONFIDENTIAL INFORMATION which may contain PROTECTED HEALTHCARE INFORMATION and may also be LEGALLY PRIVILEGED and which is intended only for the use of the individual or entity named above. If the reader of the e-mail is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that you are in possession of confidential and privileged information. Any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this e-mail unintentionally, please immediately notify the sender via telephone at (773) 406-2464 or email.


On Tue, Apr 26, 2011 at 4:26 AM, Florence POMARES <[log in to unmask]> wrote:
Dear SPM users,

We have a block design with 4 different conditions (duration = 25 s) and 3 sessions. We wanted to know how to model a linear increase of bold signal (HRF) over the duration of the stimulus (not over the session), for each condition.
The closest solution we found was to use FIR modeling, is there an other way to model that?

Florence