forked from OpatzLab/HanganuOpatzToolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SMsizedebug.m
29 lines (24 loc) · 875 Bytes
/
SMsizedebug.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
clear
experiments = get_experiment_redux;
experiments = experiments(73:420);
experiments = experiments(strcmp(extractfield(experiments, 'Exp_type'), 'opto'));
experiments = experiments(strcmp(extractfield(experiments, 'square'), 'ACCsup') | strcmp(extractfield(experiments, 'square'), 'ACCdeep'));
folder4SM = 'Q:\Personal\Tony\Analysis\Results_SpikeMatrix\Str\';
folder4SM1 = 'Q:\Personal\Tony\Analysis\Results_SpikeMatrix_plus1\Str\';
smlength = 1000000;
i = 1;
j = 1;
for exp_idx = 1 : size(experiments, 2)
experiment = experiments(exp_idx);
load([folder4SM experiment.name])
if size(spike_matrix, 2) > smlength
weird(i) = experiment;
i = i + 1;
end
clear spike_matrix
load([folder4SM1 experiment.name])
if size(spike_matrix, 2) > smlength
stillweird(j) = experiment;
j = j + 1;
end
end