-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.sh
98 lines (83 loc) · 2.65 KB
/
run.sh
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Replicates every figure in Guest and Oxenham (2021), including reproducing underlying simulations
# Get the behavioral data before we start running scripts
mkdir data
wget https://zenodo.org/record/4750384/files/data_archive.zip?download=1 -O data/data_archive.zip
unzip data/data_archive.zip
cp data_archive/* data
rm -r data_archive
rm data/data_archive.zip
# Code check: 4/14/2021
# Output check: 4/14/2021
echo 'Calculating absolute thresholds'
python3 nofigure/absolute_thresholds/absolute_thresholds.py
# Code check: 4/14/2021
# Output check: 4/14/2021
echo 'Calculating tuning_curves'
python3 nofigure/tuning_curves/estimate_freq_level_functions.py
python3 nofigure/tuning_curves/extract_tuning_curves.py
python3 nofigure/tuning_curves/estimate_q10.py
python3 nofigure/tuning_curves/estimate_q10_bm_clicks.py
# Code check: 4/14/2021
# Output check: 4/14/2021
echo 'Calculating vector strength'
python3 nofigure/vector_strength_curves/vector_strength_curves.py
# Code check: 4/14/2021
# Output check: 4/14/2021
echo 'Generating Figure 1'
python3 figure0/figure1.py
# Code check: 4/20/2021
# Output check: 4/20/2021
echo 'Generating Figure 2'
Rscript figure2/figure2.R
# Code check: 4/19/2021
# Output check: 4/19/2021
echo 'Generating Figure 3'
Rscript figure3/figure3.R
# Code check: 4/20/2021
# Output check: 4/20/2021
echo 'Generating Figure 4'
python3 figure4/figure4.py
# Code check: 5/11/2021
# Output check: 5/11/2021
echo 'Generating Figure 5'
python3 figure5_and_6/figure5.py
# Code check: 4/19/2021
# Output check: 4/19/2021
echo 'Generating Figure 6'
python3 figure5_and_6/figure6.py
# Code check: 4/19/2021
# Output check: 4/19/2021
echo 'Generating Figure 7'
python3 figure7/figure7a.py
Rscript figure7/figure7a.R
python3 figure7/figure7b.py
Rscript figure7/figure7b.R
Rscript figure7/figure7c.R
Rscript figure7/figure7d.R
# Code check: 4/19/2021
# Output check: 4/19/2021
echo 'Generating Figure 8'
python3 figure8/figure8a.py
Rscript figure8/figure8a.R
python3 figure8/figure8b.py
Rscript figure8/figure8b.R
Rscript figure8/figure8c.R
Rscript figure8/figure8d.R
# Code check: 4/19/2021
# Output check: 4/19/2021
echo 'Generating S1 Text, Fig A'
python3 supfigure1/supfigure1a.py
python3 supfigure1/supfigure1b.py
python3 supfigure1/supfigure1c.py
python3 supfigure1/supfigure1d/generate_ISIs.py
python3 supfigure1/supfigure1d/supfigure1d.py
python3 supfigure1/supfigure1e/generate_ISI_histograms.py
python3 supfigure1/supfigure1e/supfigure1e.py
# Code check: 4/19/2021
# Output check: ???
echo 'Generating S2 Text, Fig A'
# Update with scripts to generate this one
# Code check: 4/19/2021
# Output check: ???
echo 'Generating S3 Text, Fig A'
# ???