forked from codecheckers/Larisch-reproduction
-
Notifications
You must be signed in to change notification settings - Fork 0
/
startAnalysis.py
25 lines (23 loc) · 955 Bytes
/
startAnalysis.py
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
"""
Python script to run all experiments after each other to reproduce the presented data
in Clopath et al. (2010)
"""
import os
def start():
print('Start to reproduce the data in Clopath et al. (2010)')
os.system('python Fig1_clamp.py --clean')
os.system('python Fig1_window.py --clean')
os.system('python Fig1_pairing.py --clean')
os.system('python Fig2_burst.py --clean')
os.system('python Fig3_rateCode.py --clean')
os.system('python Fig3_temporalCode.py --clean')
os.system('python Fig3_rateCode_stand.py --clean')
os.system('python Fig3_tempCode_stand.py --clean')
os.system('python Fig4_stableW.py --clean')
if os.path.isfile('IMAGES.mat'):
os.system('python Fig4_RF.py --clean')
else:
print('No IMAGES.mat found, please download the file from: https://www.rctn.org/bruno/sparsenet/IMAGES.mat')
print('Done with running all the scripts.')
if __name__ == "__main__":
start()