I’m trying to compare output from two different afni modules which I thought given the same input would give me identical (or close) output for the baseline model. I look at the subbrick generated by “-out ‘Baseline’” in 3dfim+ and the “Pol#0_Coef” subbrick from 3dDeconvolve and I have differences between the two in some voxels that are minimal (i.e., at the first or second decimal place) and some that are relatively large (in the tens place). I was wondering if the programs might be doing something differently or if “Baseline” in 3dfim+ doesn’t mean what I think it means. Example code is below:
####################################################################################################
3dfim+
-input ${study}.${activeSubject}.CVR.preproc.3x3x3.GB6+tlrc
-ideal_file ${activeSubject}.ETCO2.optimal.1D
-polort 2 -fim_thr 0.0
-out ‘Fit Coef’ -out ‘Correlation’ -out ‘Baseline’
-bucket ${output_dir}/${study}.${activeSubject}.CVR.3dfim_ETCO2.GB6
3dDeconvolve
-input ${study}.${activeSubject}.CVR.preproc.3x3x3.GB6+tlrc
-polort 2
-num_stimts 1
-stim_label 1 “ETCO2” -stim_file 1 ${activeSubject}.ETCO2.optimal.1D
-xsave
-bout -fout -rout -vout
-x1D ${output_dir}/${study}.${activeSubject}.CVR.3dDecon_ETCO2
-errts ${output_dir}/${study}.${activeSubject}.CVR.ER.3dDecon_ETCO2.GB6
-bucket ${output_dir}/${study}.${activeSubject}.CVR.DC.3dDecon_ETCO2.GB6