Hi, I am interested in using the beta series method 
(https://neuroscape.ucsf.edu/wp-content/uploads/publications/Rissman2004-Measuring-functional-connectivity-during-distinct-stages-of-a-cognitive-task.pdf)
 for intra-subject analysis. Is there a straightforward way to do this in 
FreeSurfer? 

I attempted and the following analysis (code starting @ foreach) and an error 
appeared at the selxavg3-sess step:
ERROR: condition ids are not contiguous

Should I include a positive contrast for each condition (i.e. instead of 
'-no-con-ok', use 'mkcontrast-sess -analysis $analysis -contrast $contrast -a 
$1_to_194') or is something else about the design erroneous? Thank you in 
advance for feedback.

Notes regarding the paradigm file:
(1) treats each condition type as a unique event (i.e. second column consists 
of numbers 1:194; $Nconditions = 194)
(2) stim weight == 1 (i.e. third column all ones) 

foreach cortices ( lh rh )

mkanalysis-sess \
-fsd $fsd \
-surface fsaverage $cortices \
-fwhm $FWHM \
-event-related \
-paradigm $paradigm \
-nconditions $Nconditions \
-spmhrf 0 \
-TR $TR \
-refeventdur $EVENT_DUR \
-nskip $Nskip \
-hpf $HPF \
-analysis bsm.analyses.$cortices \
-per-run \
-nuisreg $MC_nuis -1 \
-tpexclude $MCR_censor \
-force

end

foreach cortices ( lh rh )

selxavg3-sess \
-s $SUBJECT \
-analysis bsm.analyses.$cortices \
-no-con-ok

end

------
Emily M. Hahn | Clinical-Computational Research Coordinator
Division of Neurotherapeutics | A.A. Martinos Center for Biomedical Imaging
Massachusetts General Hospital/Harvard Medical School
_______________________________________________
Freesurfer mailing list
[email protected]
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to