-
Notifications
You must be signed in to change notification settings - Fork 0
/
loadFeldmeyer.m
43 lines (34 loc) · 1.28 KB
/
loadFeldmeyer.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
37
38
39
40
41
42
43
% This script uses the data from Feldmeyer taken from Neuromorpho.org to see how our method
% performs on that data set.
close all, clear all
loadCache = false;
if(loadCache)
r = RGCclass(0);
r.lazyLoad('Feldmeyer');
else
r = RGCclass('DATA/Feldmeyer');
r.dataSetName = 'Feldmeyer';
for i = 1:numel(r.RGC)
r.RGC(i).nameList = {'Horizontal', ...
'Inverted','Multipolar', ...
'Pyramidal', 'Tangenital', ...
}; % 'Interneuron' --- excluded, only 3 cells
[r.RGC(i).typeID,r.RGC(i).typeName] = r.RGC(i).RGCtype();
end
% Restrict feature set used
r.featuresUsed = {'branchAssymetry', ...
'dendriticDensity', ...
'dendriticDiameter', ...
'dendriticField', ...
'densityOfBranchPoints', ...
'fractalDimensionBoxCounting', ...
'meanBranchAngle', ...
'meanSegmentLength', ...
'meanSegmentTortuosity', ...
'meanTerminalSegmentLength', ...
'numBranchPoints', ...
'totalDendriticLength'};
r.allFeatureNames = r.featuresUsed;
r.updateTables(r.featuresUsed);
r.lazySave('Feldmeyer')
end