User Tools

Site Tools


mirecc:mireccanat:calc_hipp_overlap
#!/bin/bash 
 
SUBJ=$1 
DATADIR=/home/petty/net/selye/data/MIRECC.03/Analysis/ROI/$SUBJ 
 
##create ROIs 
fslmaths ${DATADIR}/hipp_free -mul 4 -add ${DATADIR}/hipp_manual $DATADIR/FreeMan_union 
fslmaths ${DATADIR}/hipp_first -mul 4 -add ${DATADIR}/hipp_manual $DATADIR/FirstMan_union 
 
#fslmaths ${DATADIR}/hipp_first -mul 10 -add ${DATADIR}/FreeMan_union $DATADIR/all_union 
 
 
touch $DATADIR/all_overlap_vols.txt 
 
echo "$DATADIR/FreeMan_union L" >> $DATADIR/all_overlap_vols.txt 
fslstats $DATADIR/FreeMan_union -l 5.9 -u 6.1 -V >> $DATADIR/all_overlap_vols.txt 
echo "$DATADIR/FreeMan_union R" >> $DATADIR/all_overlap_vols.txt 
fslstats $DATADIR/FreeMan_union -l 8.9 -u 9.1 -V >> $DATADIR/all_overlap_vols.txt 
 
echo "$DATADIR/FirstMan_union L" >> $DATADIR/all_overlap_vols.txt 
fslstats $DATADIR/FirstMan_union -l 5.9 -u 6.1 -V >> $DATADIR/all_overlap_vols.txt 
echo "$DATADIR/FirstMan_union R" >> $DATADIR/all_overlap_vols.txt 
fslstats $DATADIR/FirstMan_union -l 8.9 -u 9.1 -V >> $DATADIR/all_overlap_vols.txt 
 
#echo "$DATADIR/all_union L" >> $DATADIR/all_overlap_vols.txt 
#fslstats $DATADIR/all_union -l 15.9 -u 16.1 -V >> $DATADIR/all_overlap_vols.txt 
#echo "$DATADIR/all_union R" >> $DATADIR/all_overlap_vols.txt 
#fslstats $DATADIR/all_union -l 28.9 -u 29.1 -V >> $DATADIR/all_overlap_vols.txt 
mirecc/mireccanat/calc_hipp_overlap.txt · Last modified: 2014/08/04 16:03 (external edit)