-
Notifications
You must be signed in to change notification settings - Fork 0
/
ParamsList.m
145 lines (130 loc) · 3.29 KB
/
ParamsList.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
CheckCenterGaussX=linspace(-max(CenterX),max(CenterX),1000);
CheckSurroundGaussX=linspace(-max(SurroundX),max(SurroundX),1000);
CheckCenterGaussY=normpdf(CheckCenterGaussX,0,cSigma);
CheckSurroundGaussY=normpdf(CheckSurroundGaussX,0,sSigma);
figure;plot(CheckCenterGaussX,CheckCenterGaussY);
hold on;
plot(CheckSurroundGaussX,-CheckSurroundGaussY)
%Eccentricities
Em=[1 2 3 4 5 6 7 8 9 10];
%Params from Kroner & Kaplan, Vis. Res. 1995
CSRadRatio=6; %Rs = 6 * Rc
CSStrengthRatio=.75; %Gs = 0.75 * Gc
%Params derived from fits of data in 'cones per midget gc data.xlsx'
ConeDensity=(52170*exp(-1.057.*Em))+(15550*exp(-0.1605.*Em));
DFRadius=0.002738*Em.^1.327;
ConesToCenter=ceil(0.3736*Em.^2+0.01126*Em+1.026);
HorizontalCellRadius=(-0.04903*Em.^3+1.276*Em.^2-0.6813*Em+12.07)/1000;
HorzRFRadius=116.5+(0.01857*exp(3.8718*Em));
%Eyeball a sigma value for the Gaussian envelope. This will be made more
%precise
CenterSigma=DFRadius(Em)/3;
SurroundSigma=CSRadRatio*CenterSigma;
XLSCenterCones=[...
0.6800 0.9800;
1.0600 0.9600;
1.6400 2.3200;
2.2100 2.5600;
2.6800 2.9700;
3.1300 5.2600;
3.6200 7.2800;
4.0700 7.9800;
4.5200 8.9000;
5.0900 11.1600;
5.5000 11.0700;
6.0100 14.6400;
6.5200 16.7900;
6.9500 19.9400;
7.5600 23.3900;
8.0400 24.7900;
8.4300 28.2500;
9.0000 28.6900;
9.4300 31.4900;
10.1000 41.4500;
10.5400 44.0000];
XLSDFArea = [...
0.6800 0.0000;
1.0600 0.0000;
1.6400 0.0001;
2.2100 0.0001;
2.6800 0.0002;
3.1300 0.0004;
3.6200 0.0007;
4.0700 0.0009;
4.5200 0.0011;
5.0900 0.0017;
5.5000 0.0018;
6.0100 0.0026;
6.5200 0.0032;
6.9500 0.0040;
7.5600 0.0051;
8.0400 0.0057;
8.4300 0.0071;
9.0000 0.0079;
9.4300 0.0097;
10.1000 0.0135;
10.5400 0.0153;
11.0000 0.0141;
11.4200 0.0151;
12.1300 0.0181;
12.5300 0.0163;
12.9900 0.0191];
XLSDFRadius = [...
0.6800 0.0028;
1.0600 0.0033;
1.6400 0.0055;
2.2100 0.0069;
2.6800 0.0082;
3.1300 0.0116;
3.6200 0.0147;
4.0700 0.0168;
4.5200 0.0190;
5.0900 0.0230;
5.5000 0.0239;
6.0100 0.0285;
6.5200 0.0318;
6.9500 0.0355;
7.5600 0.0401;
8.0400 0.0427;
8.4300 0.0476;
9.0000 0.0502;
9.4300 0.0554;
10.1000 0.0656;
10.5400 0.0699;
11.0000 0.0669;
11.4200 0.0694;
12.1300 0.0758;
12.5300 0.0719;
12.9900 0.0779];
XLSConesPerMM = 1.0e+04 *[...
0.0001 4.0133;
0.0001 2.7661;
0.0001 2.4700;
0.0002 1.7203;
0.0003 1.4135;
0.0003 1.2423;
0.0004 1.0699;
0.0004 0.9004;
0.0004 0.7873;
0.0005 0.6740;
0.0005 0.6170;
0.0006 0.5734;
0.0007 0.5277;
0.0007 0.5030;
0.0008 0.4628;
0.0008 0.4326;
0.0008 0.3974;
0.0009 0.3622;
0.0009 0.3262;
0.0010 0.3068;
0.0010 0.2867;
0.0011 0.2666;
0.0011 0.2555;
0.0012 0.2306;
0.0013 0.2213;
0.0013 0.1962;
0.0013 0.1870;
0.0014 0.1811;
0.0014 0.1761;
0.0015 0.1660;
0.0015 0.1509];