-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.m
More file actions
26 lines (22 loc) · 907 Bytes
/
main.m
File metadata and controls
26 lines (22 loc) · 907 Bytes
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
function main(data_file, tasks)
if ismember('parameter estimation', tasks)
disp(['Now running Parameter Estimation on recording #' num2str(data_file) '...'])
addpath(genpath('./inference'))
inference(data_file)
rmpath(genpath('./inference'))
end
if ismember('stability analysis', tasks)
disp(['Now running Stability Analysis on recording #' num2str(data_file) '...'])
addpath(genpath('./stability_analysis'))
stability_analysis(data_file)
show_dynamic_stability(data_file)
rmpath(genpath('./stability_analysis'))
end
if ismember('chaos analysis', tasks)
disp(['Now running Chaos Analysis on recording #' num2str(data_file) '...'])
addpath(genpath('./chaos_analysis'))
chaos_analysis(data_file)
show_dynamic_chaos(data_file)
rmpath(genpath('./chaos_analysis'))
end
end