Dear Chou-Ching,
On Wed, Apr 21, 2010 at 4:56 PM, Vladimir Litvak
<[log in to unmask]> wrote:
>> 4. Is it possible to restrict the search range of onset time, because
>> sometimes you know the bound of onset time? However, DCM just searches the
>> whole time range and find a solution outside the bound.
>>
>
> It's not possible to restrict the range, but it should be possible to
> increase the prior precision of the onset parameter which will have
> similar effect. However, looking at the code it's not immediately
> obvious to me how to do it. I'll find out from Karl and get back to
> you.
>
OK I have an answer now. If you look at spm_ind_u, line 32 is:
delay = M.ons(i) + P.R(i,1)*128;
Try changing 128 to a smaller number (it's in ms) until you get the
range you want. I still owe you an answer regarding the buttons.
Vladimir
|