Re: Percent signal change and FIR vs. beta values
Christian Stoppel <christian.stoppel <at> med.ovgu.de>
2009-01-13 10:20:22 GMT
> Hmm. Just to check, you are using the '% signal change' option in
> the marsbar menu, you haven't to your knowledge changed the difference
> function for the event, and you are not using the 'FIR event time
> course' for the the '% signal change' option above?
>
> I would expect that, if you extract the betas within sessions, and the
> percent signal change within sessions, for these to be well-correlated
> (before averaging across sessions). Is that the case?
I don't use the marsbar menu. I scripted everything. For the extraction of
the betas and the % signal change I use:
D = mardo(spm_name);
R = maroi(roi_file);
Y = get_marsy(R, D, 'mean');
E = estimate(D, Y);
E = set_contrasts(E, xCon);
ets = event_types_named(E);
n_event_types = length(ets);
run_length = size(block_rows(E),2);
% here I state if movement params are used in the design
if movement_reg == 1
reg_num = 6;
else
reg_num = 0;
end
beta_values_raw = betas(E);
beta_to_beta = n_event_types + reg_num;
% here I average the betas over the sessions
for z=1:n_event_types
a=[beta_values_raw(z)];
for y=1:run_length-1
a=[a, beta_values_raw(z+beta_to_beta*y)];
end
b=mean(a);
beta_mean{z}={['con', num2str(z),' - mean beta-value'];b};
end
% here I extract % signal change, which is not extracted per session but
averaged over all sessions (as far as I know)
for e_t = 1:n_event_types
dur = 0;
pct_ev(e_t) = event_signal(E, ets(e_t).e_spec, dur);
end
% here I get the FIR per event
bin_size = tr(E);
fir_length = 24;
bin_no = fir_length / bin_size;
opts = struct('single', 1, 'percent', 1);
for e_t = 1:n_event_types
fir_tc(:, e_t) = event_fitted_fir(E, ets(e_t).e_spec, bin_size, ...
bin_no, opts);
end
So as you see here, I don't know if the betas and the % signal change are
correlated within a session, because the script line
%%%%%%%% pct_ev(e_t) = event_signal(E, ets(e_t).e_spec, dur) %%%%%%%
gives me the percent signal change per condition for the entire experiment
and not per session (as far as I understand).
And to my knowledge I didn't changed the difference function for the event
(or did I???),
and as far as I can determine I am not using the 'FIR event time course' for
the '% signal change' (or do I???)
Sorry for all this.......
Greetz
Chris
Dr. med. Christian Stoppel
Klinik für Neurologie,
Universitätsklinikum Magdeburg A.ö.R
Leipziger Str. 44, 39120 Magdeburg
Tel.: +49391-6117537
Fax.: +49391-6117531
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword