-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathneuroinformatics.m
36 lines (28 loc) · 1.59 KB
/
neuroinformatics.m
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
function neuroinformatics(newPath)
if nargin < 1
newPath = 'img/neuroinformatics/';
end
[~,~] = mkdir(newPath); % Read and ignore returns to suppress warning if dir exists.
saveNormative('bin/batch-normative.mat', 'IterateCascadeAuto');
saveNormative('bin/missing-normative.mat', 'none');
saveNonNormative('bin/non-normative.mat', 'IterateCascadeAuto');
missmiss('standard', 'parallelize', true, 'iters', 100, 'fixedSeed', false, 'numToUse', 0, 'file', "bin/missing-normative.mat");
copyfile('img/missmiss/244-standard-value.png', strcat(newPath, 'missmiss-244-standard-value.png'));
copyfile('img/missmiss/244-standard-times.png', strcat(newPath, 'missmiss-244-standard-times.png'));
missmiss('standard', 'parallelize', true, 'iters', 100, 'fixedSeed', false, 'numToUse', 40, 'file', "bin/missing-normative.mat");
copyfile('img/missmiss/40-standard-value.png', strcat(newPath, 'missmiss-40-standard-value.png'));
batcherFigures('normfile', "bin/batch-normative.mat", 'nonnormfile', "bin/non-normative.mat");
copyfile('img/batch/norm-rand.png', strcat(newPath, 'batch-norm-rand.png'));
copyfile('img/batch/country-splits.png', strcat(newPath, 'batch-country-splits.png'));
copyfile('img/batch/vs-nonnorm.png', strcat(newPath, 'batch-vs-nonnorm.png'));
copyfile('img/batch/two-countries.png', strcat(newPath, 'batch-two-countries.png'));
batchDemos();
copyfile('img/batch/vi-comparison.png', strcat(newPath, 'vi-comparison.png'));
close all;
addpath batches;
printStats('bin/batch-normative.mat');
rmpath batches;
addpath missing;
countMissing('bin/missing-normative.mat');
rmpath missing;
end