-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTImeseriesextraction2.sh
More file actions
50 lines (40 loc) · 1.43 KB
/
TImeseriesextraction2.sh
File metadata and controls
50 lines (40 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/bash
arr[0]=l_acc
arr[1]=l_all_hipp_
arr[2]=l_ant_hipp
arr[3]=l_AT
arr[4]=l_caud
arr[5]=l_erc
arr[6]=l_fusi
arr[7]=l_MD
arr[8]=l_pcc
arr[9]=l_phc
arr[10]=l_post_hipp
arr[11]=l_prc
arr[12]=l_precun
arr[13]=r_acc
arr[14]=r_all_hipp_
arr[15]=r_ant_hipp
arr[16]=r_AT
arr[17]=r_caud
arr[18]=r_erc
arr[19]=r_fusi
arr[20]=r_MD
arr[21]=r_pcc
arr[22]=r_phc
arr[23]=r_post_hipp
arr[24]=r_prc
arr[25]=r_precun
#for i in {1001..1017} {1019..1028} # USE this line instead if later doing correct/incorrect contrast rather than DPM
for i in {1001..1002} {1004..1005} {1007..1010} {1012..1017} {1019..1028}
do
cd ${i}/GLM_TENT/glm_tent_dpm
for item in "${arr[@]}"
do echo $item
3dmaskave -mask ../../../StructuralROIsMAYO/ROIsuperteam/Downs_mni_${item}+tlrc.BRIK test_scene_prev\:DPM_iresp+orig.BRIK > ../../../SuperTeamROIoutput/timeseries_DPM_${item}_${i}.csv
3dmaskave -mask ../../../StructuralROIsMAYO/ROIsuperteam/Downs_mni_${item}+tlrc.BRIK test_scene_prev\:DPNM_iresp+orig.BRIK > ../../../SuperTeamROIoutput/timeseries_DPNM_${item}_${i}.csv
#3dmaskave -mask ../../../StructuralROIsMAYO/ROIsuperteam/Downs2_mni_${item}+tlrc.BRIK test_scene_prev\:DPM_iresp+orig.BRIK > ../../../SuperTeamROIoutput/timeseries_DPM_${item}_${i}.csv
#3dmaskave -mask ../../../StructuralROIsMAYO/ROIsuperteam/Downs2_mni_${item}+tlrc.BRIK test_scene_prev\:DPNM_iresp+orig.BRIK > ../../../SuperTeamROIoutput/timeseries_DPNM_${item}_${i}.csv
done
cd ../../..
done