-
Notifications
You must be signed in to change notification settings - Fork 0
/
add_amyg_Power.sh
13 lines (8 loc) · 777 Bytes
/
add_amyg_Power.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
# Purpose: combine amygdala mask and Power atlas to be loaded together into functions
# make sure you have already followed the steps to update this mask with each new subject
#amygdala_mask = '/data/jux/cnds/amennen/rtAttenPenn/fmridata/Nifti/derivatives/mni_anat/LAMYG_in_MNI_overlapping.nii.gz'
# first multiply the amygdala mask by 265 for it's label number
fslmaths /data/jux/cnds/amennen/rtAttenPenn/fmridata/Nifti/derivatives/mni_anat/LAMYG_in_MNI_overlapping.nii.gz -mul 265 /data/jux/cnds/amennen/Power/amygdala_mul265.nii.gz
# then add it to the Power atlas
fslmaths /data/jux/cnds/amennen/Power/amygdala_mul265.nii.gz -add /data/jux/cnds/amennen/Power/power264MNI_resampled.nii.gz /data/jux/cnds/amennen/Power/power264MNI_resampled_amygdala.nii.gz