# Each subject must be manually registered before running this!
cd #YOUR FUNCTIONAL DIRECTORY
set analysislist = 'individ_FE individ_FR individ_WE individ_WR'
set sessionlist = 'NC5_sess NC6_sess NC7_sess NC8_sess NC9_sess'
set contrastlist = 'allvfix allvfix_de allvfix_se posvfix_dse negvfix_dse neutvfix_dse dvs posvneut_dse negvneut_dse posnegvneut_dse posvfix_de negvfix_de neutvfix_de posvneut_de negvneut_de posnegvneut_de posvfix_se negvfix_se neutvfix_se posvneut_se negvneut_se posnegvneut_se'
foreach analysis ($analysislist)
#all
mkcontrast-sess -analysis ${analysis} -contrast allvfix -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -c 0
mkcontrast-sess -analysis ${analysis} -contrast allvfix_de -a 4 -a 5 -a 6 -c 0
mkcontrast-sess -analysis ${analysis} -contrast allvfix_se -a 1 -a 2 -a 3 -c 0
mkcontrast-sess -analysis ${analysis} -contrast posvfix_dse -a 3 -a 6 -c 0
mkcontrast-sess -analysis ${analysis} -contrast negvfix_dse -a 1 -a 4 -c 0
mkcontrast-sess -analysis ${analysis} -contrast neutvfix_dse -a 2 -a 5 -c 0
mkcontrast-sess -analysis ${analysis} -contrast dvs -a 4 -a 5 -a 6 -c 1 -c 2 -c 3
mkcontrast-sess -analysis ${analysis} -contrast posvneut_dse -a 3 -a 6 -c 2 -c 5
mkcontrast-sess -analysis ${analysis} -contrast negvneut_dse -a 4 -a 1 -c 2 -c 5
mkcontrast-sess -analysis ${analysis} -contrast posnegvneut_dse -a 4 -a 6 -a 1 -a 3 -c 2 -c 5
#deep
mkcontrast-sess -analysis ${analysis} -contrast posvfix_de -a 6 -c 0
mkcontrast-sess -analysis ${analysis} -contrast negvfix_de -a 4 -c 0
mkcontrast-sess -analysis ${analysis} -contrast neutvfix_de -a 5 -c 0
mkcontrast-sess -analysis ${analysis} -contrast posvneut_de -a 6 -c 5
mkcontrast-sess -analysis ${analysis} -contrast negvneut_de -a 4 -c 5
mkcontrast-sess -analysis ${analysis} -contrast posnegvneut_de -a 4 -a 6 -c 5
#shallow
mkcontrast-sess -analysis ${analysis} -contrast posvfix_se -a 3 -c 0
mkcontrast-sess -analysis ${analysis} -contrast negvfix_se -a 1 -c 0
mkcontrast-sess -analysis ${analysis} -contrast neutvfix_se -a 2 -c 0
mkcontrast-sess -analysis ${analysis} -contrast posvneut_se -a 3 -c 2
mkcontrast-sess -analysis ${analysis} -contrast negvneut_se -a 1 -c 2
mkcontrast-sess -analysis ${analysis} -contrast posnegvneut_se -a 1 -a 3 -c 2
mkcontrast-sess -analysis ${analysis} -contrast allvfix -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -c 0
foreach s ($sessionlist)
selxavg-sess -analysis ${analysis} -d . -s ${s}
foreach contrast ($contrastlist)
stxgrinder-sess -analysis ${analysis} -contrast ${contrast} -d . -s ${s}
foreach hemi (lh rh)
paint-sess -analysis ${analysis} -contrast ${contrast} -map sig -d . -s ${s} -hemi ${hemi}
end
end
end
end
UserContributions/Scripts/kslays/individual%analysis2 (last edited 2008-04-29 11:46:03 by localhost)