Dear Ralph and others,
I am starting to use spm-batch models myself, for an event-related analysis.
I hate clicking around for 1000 onsets as well. I automised the process in
that I read onset times of stimuli, key presses etc, conditions and stimulus
types, from a log-file created during the experiment, express them in nr. of
scans and have SPM construct the design matrix with the proper onsets. For
this purpose i wrote a matlab function named analyse_log.m. The times are
read from the output script of the freely available Presentation-Program (
http://www.neuro-bs.com ) that i use (version 0.47) to run my stimuli and
task during fMRI experiments.
See spm_bch.man in your SPM folder for explenation of batched analyses. I
call analyse_log.m from within model_bch.m,and fill in the acquired onset
times in the model.
I attached my .m files specifying the batched analysis, and the function
analyse_log.m that i wrote to get the onsets of events and triggers from the
output of presentatiom v0.47.
I also attached the log-file from an experiment ("Response" nr 94: scanner
trigger, 92 and 93 are left-right keypresses.., "Picture" is a stimulus,
with some code for the type).
I am rather new to event related analysis, so not all might be OK, but
results are kind of OK so far.
Its kind of specific for my situation, but perhaps the approach is of use
for you, especially if you are into Matlab programming and you use
Presentation. If you have any further questions on details of how i set this
up, feel free to contact me.
Hope this helps,
Bas
--------------------------------------------
Dr. S.F.W. Neggers
dept. of Psychonomics,Helmholtz Institute
Utrecht University
Heidelberglaan 2
3584 CS, Utrecht, the Netherlands
Tel: (+31) 30 253 4582
Fax: (+31) 30 253 4511
E-mail: [log in to unmask]
Web: http://www.fss.uu.nl/psn/pionier
--------------------------------------------
> -----Oorspronkelijk bericht-----
> Van: Matthew Brett [mailto:[log in to unmask]]
> Verzonden: vrijdag 26 april 2002 13:13
> Aan: [log in to unmask]
> Onderwerp: Re: automatize evaluation of fmri studies
>
>
|