updated figures
BIN
ampullary.pdf
BIN
ampullary.png
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 95 KiB |
@ -53,4 +53,4 @@ if __name__ == '__main__':
|
||||
ampullary_punit(cells_plot2=cells_plot2, RAM=False)
|
||||
else:
|
||||
cells_plot2 = p_units_to_show(type_here='amp')
|
||||
ampullary_punit(titles=['Low-CV ampullary cell,'],cells_plot2=cells_plot2, RAM=False, scale_val = False, add_texts = [0.25,1.3])
|
||||
ampullary_punit(eod_metrice = False, tags_individual = True, isi_delta = 5, titles=['Low-CV ampullary cell,'],cells_plot2=cells_plot2, RAM=False, scale_val = False, add_texts = [0.25,1.3])
|
Before Width: | Height: | Size: 142 KiB After Width: | Height: | Size: 142 KiB |
@ -9,4 +9,4 @@ if __name__ == '__main__':
|
||||
|
||||
|
||||
cells_plot2 = p_units_to_show(type_here = 'contrasts')
|
||||
ampullary_punit( cells_plot2=[cells_plot2[0]], titles=['Low-CV P-unit,'])
|
||||
ampullary_punit(eod_metrice = False, cells_plot2=[cells_plot2[0]], isi_delta = 5, titles=['Low-CV P-unit,'],tags_individual = True, xlim_p = [0,1.15])
|
Before Width: | Height: | Size: 142 KiB After Width: | Height: | Size: 142 KiB |
@ -7,4 +7,4 @@ from IPython import embed
|
||||
if __name__ == '__main__':
|
||||
|
||||
cells_plot2 = p_units_to_show(type_here='contrasts')
|
||||
ampullary_punit(cells_plot2=[cells_plot2[1]], titles=['High-CV P-unit,', 'Ampullary cell,'],)
|
||||
ampullary_punit(eod_metrice = False, tags_individual = True, isi_delta = 5, cells_plot2=[cells_plot2[1]], titles=['High-CV P-unit,', 'Ampullary cell,'],)
|
BIN
model_and_data.png
Normal file
After Width: | Height: | Size: 173 KiB |
@ -22,7 +22,7 @@ def table_printen(table):
|
||||
print(l1)
|
||||
|
||||
|
||||
def model_and_data2(width=0.005, nffts=['whole'], powers=[1], cells=["2013-01-08-aa-invivo-1"], show=False,
|
||||
def model_and_data2(eod_metrice = False, width=0.005, nffts=['whole'], powers=[1], cells=["2013-01-08-aa-invivo-1"], show=False,
|
||||
contrasts=[0], noises_added=[''], D_extraction_method=['additiv_cv_adapt_factor_scaled'],
|
||||
internal_noise=['RAM'], external_noise=['RAM'], level_extraction=[''], receiver_contrast=[1],
|
||||
dendrids=[''], ref_types=[''], adapt_types=[''], c_noises=[0.1], c_signal=[0.9], cut_offs1=[300],
|
||||
@ -91,7 +91,7 @@ def model_and_data2(width=0.005, nffts=['whole'], powers=[1], cells=["2013-01-08
|
||||
#ypos_x_modelanddata()
|
||||
nr = 1
|
||||
ax_data, stack_spikes_all, eod_frs = plt_data_susept(fig, grid_data, cells_all, cell_type='p-unit', width=width,
|
||||
cbar_label=True, nr = nr, amp_given = 1,xlabel = False, lp=lp, title=True)
|
||||
cbar_label=True, eod_metrice = eod_metrice, nr = nr, amp_given = 1,xlabel = False, lp=lp, title=True)
|
||||
for ax_external in ax_data:
|
||||
# ax.set_ylabel(F2_xlabel())
|
||||
# remove_xticks(ax)
|
||||
@ -170,7 +170,7 @@ def model_and_data2(width=0.005, nffts=['whole'], powers=[1], cells=["2013-01-08
|
||||
|
||||
if len(stack)> 0:
|
||||
add_nonlin_title, cbar, fig, stack_plot, im = plt_single_square_modl(ax_external, cell, stack, perc, titles[s],
|
||||
width, titles_plot=True,
|
||||
width, eod_metrice = eod_metrice, titles_plot=True,
|
||||
resize=True, nr = nr)
|
||||
|
||||
# if s in [1,3,5]:
|
||||
@ -392,17 +392,21 @@ if __name__ == '__main__':
|
||||
|
||||
##########################
|
||||
# hier printen wir die table Werte zum kopieren in den Text
|
||||
table = pd.read_csv('print_table_suscept-model_params_suscept_table.csv')
|
||||
path = 'print_table_suscept-model_params_suscept_table.csv'
|
||||
if os.path.exists(path):
|
||||
table = pd.read_csv(path)
|
||||
table_printen(table)
|
||||
|
||||
table = pd.read_csv('print_table_all-model_params_suscept_table.csv')
|
||||
path = 'print_table_all-model_params_suscept_table.csv'
|
||||
if os.path.exists(path):
|
||||
table = pd.read_csv()
|
||||
print('model big')
|
||||
table_printen(table)
|
||||
#embed()
|
||||
|
||||
##########################
|
||||
#embed()
|
||||
model_and_data2(width=0.005, show=show, D_extraction_method=D_extraction_method,
|
||||
model_and_data2(eod_metrice = False, width=0.005, show=show, D_extraction_method=D_extraction_method,
|
||||
label=r'$\frac{1}{mV^2S}$') #r'$\frac{1}{mV^2S}$'
|
||||
|
||||
|
||||
|
40001
model_and_data___c_sig_0_a_fe_0.009.csv
Normal file
242
model_and_data__spikes_c_sig_0_a_fe_0.009.csv
Normal file
@ -0,0 +1,242 @@
|
||||
,spikes
|
||||
0,0.005
|
||||
1,0.014700000000000001
|
||||
2,0.02545
|
||||
3,0.032850000000000004
|
||||
4,0.038400000000000004
|
||||
5,0.049100000000000005
|
||||
6,0.05555
|
||||
7,0.06405000000000001
|
||||
8,0.07395
|
||||
9,0.08245000000000001
|
||||
10,0.0879
|
||||
11,0.09865
|
||||
12,0.10615000000000001
|
||||
13,0.11475
|
||||
14,0.12335
|
||||
15,0.13090000000000002
|
||||
16,0.13755
|
||||
17,0.14495
|
||||
18,0.15675
|
||||
19,0.16225
|
||||
20,0.17405
|
||||
21,0.1826
|
||||
22,0.19125
|
||||
23,0.1966
|
||||
24,0.20855
|
||||
25,0.21280000000000002
|
||||
26,0.22365000000000002
|
||||
27,0.23220000000000002
|
||||
28,0.23865
|
||||
29,0.2452
|
||||
30,0.257
|
||||
31,0.26455
|
||||
32,0.27195
|
||||
33,0.2785
|
||||
34,0.2861
|
||||
35,0.2979
|
||||
36,0.30645
|
||||
37,0.313
|
||||
38,0.32365
|
||||
39,0.33240000000000003
|
||||
40,0.3388
|
||||
41,0.34740000000000004
|
||||
42,0.35715
|
||||
43,0.36255000000000004
|
||||
44,0.37
|
||||
45,0.3776
|
||||
46,0.38945
|
||||
47,0.39475000000000005
|
||||
48,0.40345000000000003
|
||||
49,0.41415
|
||||
50,0.4218
|
||||
51,0.43135
|
||||
52,0.43685
|
||||
53,0.4476
|
||||
54,0.4541
|
||||
55,0.4627
|
||||
56,0.46905
|
||||
57,0.47895000000000004
|
||||
58,0.4864
|
||||
59,0.496
|
||||
60,0.50365
|
||||
61,0.5122
|
||||
62,0.5177
|
||||
63,0.5273
|
||||
64,0.53805
|
||||
65,0.54555
|
||||
66,0.5532
|
||||
67,0.5628500000000001
|
||||
68,0.5694
|
||||
69,0.5768
|
||||
70,0.5876
|
||||
71,0.5962500000000001
|
||||
72,0.6049
|
||||
73,0.61455
|
||||
74,0.6242500000000001
|
||||
75,0.6284500000000001
|
||||
76,0.6371
|
||||
77,0.6459
|
||||
78,0.6533
|
||||
79,0.6597500000000001
|
||||
80,0.6726500000000001
|
||||
81,0.67935
|
||||
82,0.6846
|
||||
83,0.69315
|
||||
84,0.7040000000000001
|
||||
85,0.71155
|
||||
86,0.7222000000000001
|
||||
87,0.72975
|
||||
88,0.7362500000000001
|
||||
89,0.74485
|
||||
90,0.7535000000000001
|
||||
91,0.7599
|
||||
92,0.77175
|
||||
93,0.77825
|
||||
94,0.7879
|
||||
95,0.7944
|
||||
96,0.8041
|
||||
97,0.8126
|
||||
98,0.8191
|
||||
99,0.8278000000000001
|
||||
100,0.83525
|
||||
101,0.8462000000000001
|
||||
102,0.85245
|
||||
103,0.8634000000000001
|
||||
104,0.8698
|
||||
105,0.8772500000000001
|
||||
106,0.88595
|
||||
107,0.8924000000000001
|
||||
108,0.90215
|
||||
109,0.9107000000000001
|
||||
110,0.9193
|
||||
111,0.9268500000000001
|
||||
112,0.93655
|
||||
113,0.94735
|
||||
114,0.9527
|
||||
115,0.9613
|
||||
116,0.9700000000000001
|
||||
117,0.9764
|
||||
118,0.9861000000000001
|
||||
119,0.99255
|
||||
120,1.0045
|
||||
121,1.01305
|
||||
122,1.0206
|
||||
123,1.026
|
||||
124,1.03575
|
||||
125,1.0421
|
||||
126,1.0497
|
||||
127,1.06255
|
||||
128,1.0713000000000001
|
||||
129,1.07985
|
||||
130,1.08745
|
||||
131,1.0972
|
||||
132,1.1046500000000001
|
||||
133,1.11335
|
||||
134,1.11975
|
||||
135,1.12735
|
||||
136,1.1358000000000001
|
||||
137,1.14655
|
||||
138,1.15405
|
||||
139,1.15955
|
||||
140,1.1703000000000001
|
||||
141,1.1768
|
||||
142,1.1875
|
||||
143,1.1950500000000002
|
||||
144,1.2048
|
||||
145,1.2102000000000002
|
||||
146,1.21875
|
||||
147,1.2295
|
||||
148,1.2361
|
||||
149,1.2436500000000001
|
||||
150,1.25115
|
||||
151,1.2597500000000001
|
||||
152,1.2693
|
||||
153,1.27905
|
||||
154,1.2845
|
||||
155,1.29305
|
||||
156,1.29955
|
||||
157,1.3103500000000001
|
||||
158,1.3169
|
||||
159,1.3254000000000001
|
||||
160,1.3361500000000002
|
||||
161,1.3448
|
||||
162,1.3514000000000002
|
||||
163,1.361
|
||||
164,1.3675000000000002
|
||||
165,1.3761
|
||||
166,1.389
|
||||
167,1.3954
|
||||
168,1.40405
|
||||
169,1.4126
|
||||
170,1.42025
|
||||
171,1.4278
|
||||
172,1.4373500000000001
|
||||
173,1.4471
|
||||
174,1.4535500000000001
|
||||
175,1.4632500000000002
|
||||
176,1.4696
|
||||
177,1.4794
|
||||
178,1.4903000000000002
|
||||
179,1.4956
|
||||
180,1.5042
|
||||
181,1.5107000000000002
|
||||
182,1.5205
|
||||
183,1.52685
|
||||
184,1.5365
|
||||
185,1.5462
|
||||
186,1.55695
|
||||
187,1.56135
|
||||
188,1.56885
|
||||
189,1.5774000000000001
|
||||
190,1.58705
|
||||
191,1.5958
|
||||
192,1.6043
|
||||
193,1.61295
|
||||
194,1.6194000000000002
|
||||
195,1.6280000000000001
|
||||
196,1.63565
|
||||
197,1.64525
|
||||
198,1.6539000000000001
|
||||
199,1.6647500000000002
|
||||
200,1.6712
|
||||
201,1.67655
|
||||
202,1.68615
|
||||
203,1.6949
|
||||
204,1.7035500000000001
|
||||
205,1.7088
|
||||
206,1.72275
|
||||
207,1.7293
|
||||
208,1.73465
|
||||
209,1.74435
|
||||
210,1.75085
|
||||
211,1.7595
|
||||
212,1.7681
|
||||
213,1.7746000000000002
|
||||
214,1.78105
|
||||
215,1.7949000000000002
|
||||
216,1.80045
|
||||
217,1.8090000000000002
|
||||
218,1.81655
|
||||
219,1.8241
|
||||
220,1.8348
|
||||
221,1.8414000000000001
|
||||
222,1.8521
|
||||
223,1.8608
|
||||
224,1.8681500000000002
|
||||
225,1.8757000000000001
|
||||
226,1.8822500000000002
|
||||
227,1.8931
|
||||
228,1.90165
|
||||
229,1.90815
|
||||
230,1.91785
|
||||
231,1.9253500000000001
|
||||
232,1.9351
|
||||
233,1.9415
|
||||
234,1.9522000000000002
|
||||
235,1.9587
|
||||
236,1.9664000000000001
|
||||
237,1.97605
|
||||
238,1.98455
|
||||
239,1.99105
|
||||
240,1.9996500000000001
|
|
40001
model_and_data_additiv_cv_adapt_factor_scaled__c_sig_0.9_a_fe_0.009.csv
Normal file
40001
model_and_data_additiv_cv_adapt_factor_scaled__c_sig_0.9_a_fe_0.csv
Normal file
@ -0,0 +1,240 @@
|
||||
,spikes
|
||||
0,0.00385
|
||||
1,0.0135
|
||||
2,0.02
|
||||
3,0.0287
|
||||
4,0.041550000000000004
|
||||
5,0.04805
|
||||
6,0.0567
|
||||
7,0.0663
|
||||
8,0.07390000000000001
|
||||
9,0.07925
|
||||
10,0.0868
|
||||
11,0.09645000000000001
|
||||
12,0.1041
|
||||
13,0.1158
|
||||
14,0.12445
|
||||
15,0.13415000000000002
|
||||
16,0.13965
|
||||
17,0.1471
|
||||
18,0.15365
|
||||
19,0.16335
|
||||
20,0.16970000000000002
|
||||
21,0.18485000000000001
|
||||
22,0.19025
|
||||
23,0.1978
|
||||
24,0.20535
|
||||
25,0.215
|
||||
26,0.2225
|
||||
27,0.23120000000000002
|
||||
28,0.24080000000000001
|
||||
29,0.2484
|
||||
30,0.257
|
||||
31,0.2624
|
||||
32,0.271
|
||||
33,0.2796
|
||||
34,0.28715
|
||||
35,0.2936
|
||||
36,0.30545
|
||||
37,0.31515000000000004
|
||||
38,0.32165
|
||||
39,0.33025000000000004
|
||||
40,0.3377
|
||||
41,0.3453
|
||||
42,0.35710000000000003
|
||||
43,0.36355000000000004
|
||||
44,0.3733
|
||||
45,0.38085
|
||||
46,0.3905
|
||||
47,0.39815
|
||||
48,0.4035
|
||||
49,0.41205
|
||||
50,0.42275
|
||||
51,0.4293
|
||||
52,0.44105
|
||||
53,0.44975000000000004
|
||||
54,0.45730000000000004
|
||||
55,0.46490000000000004
|
||||
56,0.47350000000000003
|
||||
57,0.48100000000000004
|
||||
58,0.48850000000000005
|
||||
59,0.4994
|
||||
60,0.5058
|
||||
61,0.5176000000000001
|
||||
62,0.52195
|
||||
63,0.5317000000000001
|
||||
64,0.5392
|
||||
65,0.5478000000000001
|
||||
66,0.55525
|
||||
67,0.56505
|
||||
68,0.57145
|
||||
69,0.58115
|
||||
70,0.58975
|
||||
71,0.59735
|
||||
72,0.60595
|
||||
73,0.61455
|
||||
74,0.6231
|
||||
75,0.63175
|
||||
76,0.6404000000000001
|
||||
77,0.6468
|
||||
78,0.65435
|
||||
79,0.66845
|
||||
80,0.67595
|
||||
81,0.68355
|
||||
82,0.6888500000000001
|
||||
83,0.6996
|
||||
84,0.70835
|
||||
85,0.7147
|
||||
86,0.7233
|
||||
87,0.7351000000000001
|
||||
88,0.7405
|
||||
89,0.7524500000000001
|
||||
90,0.7578
|
||||
91,0.7642
|
||||
92,0.77395
|
||||
93,0.7815500000000001
|
||||
94,0.7891
|
||||
95,0.79445
|
||||
96,0.8073
|
||||
97,0.8138000000000001
|
||||
98,0.8235
|
||||
99,0.8300500000000001
|
||||
100,0.83745
|
||||
101,0.84935
|
||||
102,0.85695
|
||||
103,0.86665
|
||||
104,0.8752000000000001
|
||||
105,0.88375
|
||||
106,0.8914500000000001
|
||||
107,0.90115
|
||||
108,0.9075000000000001
|
||||
109,0.91395
|
||||
110,0.9257500000000001
|
||||
111,0.93225
|
||||
112,0.94205
|
||||
113,0.9506
|
||||
114,0.9603
|
||||
115,0.96465
|
||||
116,0.9732000000000001
|
||||
117,0.9839500000000001
|
||||
118,0.99045
|
||||
119,1.00125
|
||||
120,1.0076500000000002
|
||||
121,1.0142
|
||||
122,1.0239500000000001
|
||||
123,1.03025
|
||||
124,1.0432000000000001
|
||||
125,1.0497
|
||||
126,1.0604500000000001
|
||||
127,1.0669
|
||||
128,1.0745
|
||||
129,1.0831
|
||||
130,1.09175
|
||||
131,1.1003500000000002
|
||||
132,1.1057000000000001
|
||||
133,1.1164500000000002
|
||||
134,1.12505
|
||||
135,1.1347500000000001
|
||||
136,1.1413
|
||||
137,1.14775
|
||||
138,1.15955
|
||||
139,1.16605
|
||||
140,1.1746
|
||||
141,1.1854
|
||||
142,1.1919
|
||||
143,1.1993500000000001
|
||||
144,1.2059
|
||||
145,1.2209
|
||||
146,1.22625
|
||||
147,1.2328000000000001
|
||||
148,1.24135
|
||||
149,1.25115
|
||||
150,1.25865
|
||||
151,1.26625
|
||||
152,1.2726
|
||||
153,1.28345
|
||||
154,1.2898
|
||||
155,1.3039
|
||||
156,1.3093000000000001
|
||||
157,1.3168
|
||||
158,1.3243500000000001
|
||||
159,1.3362
|
||||
160,1.34365
|
||||
161,1.35555
|
||||
162,1.362
|
||||
163,1.3706500000000001
|
||||
164,1.37815
|
||||
165,1.38355
|
||||
166,1.3922
|
||||
167,1.4008
|
||||
168,1.41045
|
||||
169,1.4191500000000001
|
||||
170,1.4267
|
||||
171,1.43635
|
||||
172,1.44385
|
||||
173,1.4525000000000001
|
||||
174,1.46005
|
||||
175,1.4708
|
||||
176,1.47615
|
||||
177,1.4838
|
||||
178,1.49015
|
||||
179,1.50205
|
||||
180,1.5117500000000001
|
||||
181,1.5192
|
||||
182,1.5290000000000001
|
||||
183,1.5354
|
||||
184,1.54295
|
||||
185,1.55055
|
||||
186,1.56135
|
||||
187,1.56885
|
||||
188,1.5743
|
||||
189,1.5871000000000002
|
||||
190,1.5925
|
||||
191,1.60125
|
||||
192,1.6108500000000001
|
||||
193,1.6195000000000002
|
||||
194,1.6259000000000001
|
||||
195,1.6345
|
||||
196,1.64425
|
||||
197,1.6507
|
||||
198,1.66035
|
||||
199,1.67225
|
||||
200,1.6809
|
||||
201,1.68625
|
||||
202,1.6991500000000002
|
||||
203,1.7067
|
||||
204,1.7110500000000002
|
||||
205,1.7217500000000001
|
||||
206,1.7315
|
||||
207,1.73895
|
||||
208,1.7509000000000001
|
||||
209,1.7562
|
||||
210,1.76275
|
||||
211,1.77025
|
||||
212,1.7789000000000001
|
||||
213,1.7875
|
||||
214,1.79285
|
||||
215,1.80255
|
||||
216,1.8122500000000001
|
||||
217,1.81975
|
||||
218,1.82735
|
||||
219,1.83695
|
||||
220,1.84565
|
||||
221,1.8521
|
||||
222,1.8607500000000001
|
||||
223,1.8704
|
||||
224,1.88015
|
||||
225,1.8865500000000002
|
||||
226,1.8984500000000002
|
||||
227,1.9038000000000002
|
||||
228,1.9103
|
||||
229,1.9188500000000002
|
||||
230,1.9297000000000002
|
||||
231,1.9372
|
||||
232,1.9468500000000002
|
||||
233,1.9554500000000001
|
||||
234,1.963
|
||||
235,1.9695
|
||||
236,1.9782000000000002
|
||||
237,1.98665
|
||||
238,1.99425
|
|
@ -0,0 +1,240 @@
|
||||
,spikes
|
||||
0,0.0006000000000000001
|
||||
1,0.007050000000000001
|
||||
2,0.01675
|
||||
3,0.02535
|
||||
4,0.0351
|
||||
5,0.041550000000000004
|
||||
6,0.05025
|
||||
7,0.0599
|
||||
8,0.0685
|
||||
9,0.07495
|
||||
10,0.08360000000000001
|
||||
11,0.0911
|
||||
12,0.09865
|
||||
13,0.10940000000000001
|
||||
14,0.11810000000000001
|
||||
15,0.12455000000000001
|
||||
16,0.13525
|
||||
17,0.1449
|
||||
18,0.1504
|
||||
19,0.15895
|
||||
20,0.16870000000000002
|
||||
21,0.1773
|
||||
22,0.18480000000000002
|
||||
23,0.19455
|
||||
24,0.20415
|
||||
25,0.2117
|
||||
26,0.2172
|
||||
27,0.22790000000000002
|
||||
28,0.23435
|
||||
29,0.24195
|
||||
30,0.2538
|
||||
31,0.2602
|
||||
32,0.26665
|
||||
33,0.2753
|
||||
34,0.28390000000000004
|
||||
35,0.29355000000000003
|
||||
36,0.30010000000000003
|
||||
37,0.30865000000000004
|
||||
38,0.3194
|
||||
39,0.3259
|
||||
40,0.3345
|
||||
41,0.34315
|
||||
42,0.3497
|
||||
43,0.36145
|
||||
44,0.369
|
||||
45,0.37755
|
||||
46,0.38405
|
||||
47,0.39265
|
||||
48,0.40345000000000003
|
||||
49,0.40995000000000004
|
||||
50,0.4164
|
||||
51,0.4293
|
||||
52,0.43575
|
||||
53,0.44225000000000003
|
||||
54,0.45080000000000003
|
||||
55,0.45940000000000003
|
||||
56,0.468
|
||||
57,0.47885
|
||||
58,0.48535
|
||||
59,0.49495
|
||||
60,0.50255
|
||||
61,0.509
|
||||
62,0.51975
|
||||
63,0.5262
|
||||
64,0.5348
|
||||
65,0.5413
|
||||
66,0.55095
|
||||
67,0.5596
|
||||
68,0.5672
|
||||
69,0.5779000000000001
|
||||
70,0.5843
|
||||
71,0.5930500000000001
|
||||
72,0.60055
|
||||
73,0.6113500000000001
|
||||
74,0.6189
|
||||
75,0.6274500000000001
|
||||
76,0.6329
|
||||
77,0.6447
|
||||
78,0.65225
|
||||
79,0.6609
|
||||
80,0.67055
|
||||
81,0.6781
|
||||
82,0.6836
|
||||
83,0.69105
|
||||
84,0.70075
|
||||
85,0.7105
|
||||
86,0.7180000000000001
|
||||
87,0.7288
|
||||
88,0.7352500000000001
|
||||
89,0.74275
|
||||
90,0.7525000000000001
|
||||
91,0.75995
|
||||
92,0.7707
|
||||
93,0.7814500000000001
|
||||
94,0.7869
|
||||
95,0.7965500000000001
|
||||
96,0.80405
|
||||
97,0.8116
|
||||
98,0.81925
|
||||
99,0.8321000000000001
|
||||
100,0.83755
|
||||
101,0.8451500000000001
|
||||
102,0.85465
|
||||
103,0.8623500000000001
|
||||
104,0.86985
|
||||
105,0.8806
|
||||
106,0.8892500000000001
|
||||
107,0.8967
|
||||
108,0.9054000000000001
|
||||
109,0.91285
|
||||
110,0.9226500000000001
|
||||
111,0.93015
|
||||
112,0.9409500000000001
|
||||
113,0.94635
|
||||
114,0.9528000000000001
|
||||
115,0.9614
|
||||
116,0.9711000000000001
|
||||
117,0.97855
|
||||
118,0.9851000000000001
|
||||
119,0.99575
|
||||
120,1.0044
|
||||
121,1.0099
|
||||
122,1.02275
|
||||
123,1.0314
|
||||
124,1.0389000000000002
|
||||
125,1.04645
|
||||
126,1.0530000000000002
|
||||
127,1.06265
|
||||
128,1.0722500000000001
|
||||
129,1.07775
|
||||
130,1.08735
|
||||
131,1.0939
|
||||
132,1.10775
|
||||
133,1.11435
|
||||
134,1.1219000000000001
|
||||
135,1.13155
|
||||
136,1.14125
|
||||
137,1.14765
|
||||
138,1.1563
|
||||
139,1.1628
|
||||
140,1.1746
|
||||
141,1.18005
|
||||
142,1.18755
|
||||
143,1.1972
|
||||
144,1.2048
|
||||
145,1.2155
|
||||
146,1.22205
|
||||
147,1.2296
|
||||
148,1.2382
|
||||
149,1.24685
|
||||
150,1.2554
|
||||
151,1.2619500000000001
|
||||
152,1.2726
|
||||
153,1.2781
|
||||
154,1.28875
|
||||
155,1.2942500000000001
|
||||
156,1.30175
|
||||
157,1.31465
|
||||
158,1.32105
|
||||
159,1.32765
|
||||
160,1.3383500000000002
|
||||
161,1.3459
|
||||
162,1.3567
|
||||
163,1.3652
|
||||
164,1.3718000000000001
|
||||
165,1.3825
|
||||
166,1.38785
|
||||
167,1.39765
|
||||
168,1.40615
|
||||
169,1.4147500000000002
|
||||
170,1.42455
|
||||
171,1.431
|
||||
172,1.4406
|
||||
173,1.4492
|
||||
174,1.45785
|
||||
175,1.4654
|
||||
176,1.4741
|
||||
177,1.4815500000000001
|
||||
178,1.49235
|
||||
179,1.4989000000000001
|
||||
180,1.5053
|
||||
181,1.5128000000000001
|
||||
182,1.52145
|
||||
183,1.5301
|
||||
184,1.5376500000000002
|
||||
185,1.54725
|
||||
186,1.5538500000000002
|
||||
187,1.5624500000000001
|
||||
188,1.5732000000000002
|
||||
189,1.5807
|
||||
190,1.5904
|
||||
191,1.59685
|
||||
192,1.60755
|
||||
193,1.61305
|
||||
194,1.62165
|
||||
195,1.63025
|
||||
196,1.6410500000000001
|
||||
197,1.64745
|
||||
198,1.6571500000000001
|
||||
199,1.6636000000000002
|
||||
200,1.6712
|
||||
201,1.67975
|
||||
202,1.68835
|
||||
203,1.6981000000000002
|
||||
204,1.70565
|
||||
205,1.7152500000000002
|
||||
206,1.7217500000000001
|
||||
207,1.73035
|
||||
208,1.7379
|
||||
209,1.7508000000000001
|
||||
210,1.75625
|
||||
211,1.7638
|
||||
212,1.7746000000000002
|
||||
213,1.7821500000000001
|
||||
214,1.7886000000000002
|
||||
215,1.7993000000000001
|
||||
216,1.8057500000000002
|
||||
217,1.81335
|
||||
218,1.8261500000000002
|
||||
219,1.83275
|
||||
220,1.8403
|
||||
221,1.8478
|
||||
222,1.8553000000000002
|
||||
223,1.8639000000000001
|
||||
224,1.87145
|
||||
225,1.8823500000000002
|
||||
226,1.8908500000000001
|
||||
227,1.89735
|
||||
228,1.91015
|
||||
229,1.9167500000000002
|
||||
230,1.9243000000000001
|
||||
231,1.9361000000000002
|
||||
232,1.94255
|
||||
233,1.9480000000000002
|
||||
234,1.9587
|
||||
235,1.9651500000000002
|
||||
236,1.9749
|
||||
237,1.9825000000000002
|
||||
238,1.991
|
|
1726
model_and_data_data__cell2012-07-03-ak-invivo-1_.csv
Normal file
BIN
model_and_data_data__cell2012-07-03-ak-invivo-1__isf.npy
Normal file
BIN
model_and_data_data__cell2012-07-03-ak-invivo-1__osf.npy
Normal file
BIN
model_and_data_data__cell2012-07-03-ak-invivo-1__spikes.npy
Normal file
1244
model_and_data_data__cell2012-07-03-ak-invivo-1_spikes_.csv
Normal file
5
print_table_suscept-model_params_suscept_table.csv
Normal file
@ -0,0 +1,5 @@
|
||||
cell,input_scaling,mem_tau,v_offset,noise_strength,tau_a,delta_a,dend_tau,ref_period
|
||||
2012-07-03-ak,$10.6$,$1.38$,$-1.32$,$0.001$,$96.05$,$0.01$,$1.18$,$0.12$
|
||||
2013-01-08-aa,$4.5$,$1.20$,$0.59$,$0.001$,$37.52$,$0.01$,$1.18$,$0.38$
|
||||
2018-05-08-ae,$139.6$,$1.49$,$-21.09$,$0.214$,$123.69$,$0.16$,$3.93$,$1.31$
|
||||
median,10.6,1.38,$-1.32$,0.001,96.05,0.01,1.18,0.38
|
|
2873
susceptibility1.pdf
@ -587,8 +587,10 @@ In this work, the second-order susceptibility in spiking responses of P-units wa
|
||||
%occurring nonlinearities could only be explained based on a (\foneb{}, \ftwob{}, \fsumb{}, \fdiffb{},
|
||||
In this chapter, it was demonstrated that in small homogeneous populations of electrophysiological recorded cells, a diagonal structure appeared when the sum of the input frequencies was equal to \fbase{} in the second-order susceptibility (\figrefb{cells_suscept}, \figrefb{ampullary}). The size of a population is limited by the possible recording duration in an experiment, but there are no such limitations in P-unit models, where an extended nonlinear structure with diagonals, vertical and horizontal lines at \fsumb{}, \fdiffb{}, \foneb{} or \ftwob{} appeared with increased stimulus realizations (\figrefb{model_full}). This nonlinear structure is in line with the one predicted in the framework of the nonlinear response theory, which was developed based on LIF models without carrier \citealp{Voronenko2017} and was here confirmed to be valid in models with carrier (\figrefb{model_and_data}).
|
||||
|
||||
|
||||
|
||||
\subsection{Noise stimulation approximates the nonlinearity in a three-fish setting}%implying that the
|
||||
In this chapter, the nonlinearity of P-units and ampullary cells was retrieved based on white noise stimulation, where all behaviorally relevant frequencies were simultaneously present in the stimulus. The nonlinearity of LIF models (\citealp{Egerland2020}) and of ampullary cells in paddlefish \citealp{Neiman2011fish} has been previously accessed with bandpass limited white noise.
|
||||
In this chapter, the nonlinearity of P-units and ampullary cells was retrieved based on white noise stimulation, where all behaviorally relevant frequencies were simultaneously present in the stimulus. The nonlinearity of ampullary cells in paddlefish \citealp{Neiman2011fish} has been previously accessed with bandpass limited white noise.
|
||||
|
||||
Here it was demonstrated that the second-order susceptibility for the two RAM noise input frequencies \fone{} and \ftwo{} can approximate a three-fish setting, where the driving force for the P-unit are two beats with frequencies \bone{} and \btwo{}. This was confirmed by a low-CV P-unit, where nonlinearities in the P-unit response occurred at the sum and difference of the beat frequencies for pure sine-wave stimulation (\figrefb{motivation}). In this P-unit the nonlinearity appeared in a three-wave setting with \bone{} being close to \fbase{}, corresponding to a frequency combination on the vertical line at \foneb{} in the second-order susceptibility (\subfigrefb{model_full}{B}). This implies that even if only the diagonal structure can be accessed with noise stimulation in the second-order susceptibility in an experiment (\subfigrefb{model_full}{A}), it can be taken as an indicator that the whole nonlinear structure should be present during pure sine-wave stimulation in the same cell. With this RAM stimulation was demonstrated to be an effective method to scan the three-fish or two-beat plane and estimate the whole theoretically predicted nonlinear structure in experimentally recorded cells.
|
||||
|
||||
@ -609,13 +611,13 @@ In this chapter strong nonlinear interactions were found in a subpopulation of l
|
||||
|
||||
|
||||
%Nonlinear effects only for specific frequency combinations
|
||||
\subsection{The readout from P-units in pyramidal cells is heterogeneous}
|
||||
\subsection{Heterogeneity of P-units might influence nonlinearity}
|
||||
|
||||
%is required to cover all female-intruder combinations} %gain_via_mean das ist der Frequenz plane faktor
|
||||
%associated with nonlinear effects as \fdiffb{} and \fsumb{} were with the same firing rate low-CV P-units
|
||||
%and \figrefb{ROC_with_nonlin}
|
||||
|
||||
The findings in this work are based on a low-CV P-unit model and might require a selective readout from a homogeneous population of low-CV cells to sustain. Since a receptive field is defined as a patch of adjacent receptors on the fish surface \citealp{Maler2009a} and P-units have heterogeneous baseline properties (CV and \fbasesolid{}) that do not depend on the location of the receptor on the fish body \citealp{Hladnik2023} as a result each pyramidal cell in the ELL will integrate over a heterogeneous and not homogeneous P-unit population. The center-surround receptive field organization of superficial and intermediate layer pyramidal cells in addition increases this heterogeneity of the integrated population. Heterogeneous populations with different baseline properties can be more advantageous for the encoding compared to homogeneous populations, as has been shown in P-units and models \citealp{Beiran2018, Hladnik2023}.
|
||||
The nonlinearity in this work are based on a low-CV P-unit model and might require a selective readout from a homogeneous population of low-CV cells to sustain. Since a receptive field is defined as a patch of adjacent receptors on the fish surface \citealp{Maler2009a} and P-units have heterogeneous baseline properties (CV and \fbasesolid{}) that do not depend on the location of the receptor on the fish body \citealp{Hladnik2023} as a result each pyramidal cell in the ELL will integrate over a heterogeneous and not homogeneous P-unit population. The center-surround receptive field organization of superficial and intermediate layer pyramidal cells in addition increases this heterogeneity of the integrated population. Heterogeneous populations with different baseline properties can be more advantageous for the encoding compared to homogeneous populations, as has been shown in P-units and models \citealp{Beiran2018, Hladnik2023}.
|
||||
|
||||
|
||||
%\subsubsection{A heterogeneous readout is required to cover all female-intruder combinations}
|
||||
@ -633,8 +635,8 @@ A heterogeneous readout might be not only physiologically plausible but also req
|
||||
|
||||
|
||||
%These low-frequency modulations of the amplitude modulation are
|
||||
\subsection{Encoding of secondary envelopes}%($\n{}=49$) Whether this population of envelope encoders was in addition bursty was not addressed in the corresponding study \citet{Savard2011}.
|
||||
The RAM stimulus used in this chapter is an approximation of the three-fish scenario, where the two generated beats are often slowly modulated at the difference between the two beat frequencies \bdiff{}, known as secondary or social envelope \citealp{Stamper2012Envelope}. In previous works it was shown that low-frequency secondary envelopes are extracted not in P-units but downstream of them in the ELL \citealp{Middleton2006} utilizing threshold nonlinear response curves of the involved neuron \citealp{Middleton2007}. This work addressed that only a small class of cells, with very low CVs would encode the social envolope. This small percentage of the low-CV cells would be in line with no P-units found in the work by \citet{Middleton2007}. On the other hand in previous literature the encoding of social envelopes was attributed to a large subpopulationof P-units with stronger nonlinearities, lower firing rates and higher CVs \citealp{Savard2011}. The explanation for these findings might be in another baseline properties of P-units, bursting, firing repeated burst packages of spikes interleaved with quiescence (unpublished work).
|
||||
\subsection{Encoding of secondary envelopes}%($\n{}=49$) Whether this population of envelope encoders was in addition bursty was not addressed in the corresponding study
|
||||
The RAM stimulus used in this chapter is an approximation of the three-fish scenario, where the two generated beats are often slowly modulated at the difference between the two beat frequencies \bdiff{}, known as secondary or social envelope \citealp{Stamper2012Envelope}. In previous works it was shown that low-frequency secondary envelopes are extracted not in P-units but downstream of them in the ELL \citealp{Middleton2006} utilizing threshold nonlinear response curves of the involved neuron \citealp{Middleton2007}. This work addressed that only a small class of cells, with very low CVs would encode the social envolope. This small percentage of the low-CV cells would be in line with no P-units found in the work \citealp{Middleton2007}. On the other hand in previous literature the encoding of social envelopes was attributed to a large subpopulationof P-units with stronger nonlinearities, lower firing rates and higher CVs \citealp{Savard2011}. The explanation for these findings might be in another baseline properties of P-units, bursting, firing repeated burst packages of spikes interleaved with quiescence (unpublished work).
|
||||
|
||||
|
||||
\subsection{More fish would decrease second-order susceptibility}%
|
||||
@ -642,7 +644,7 @@ When using noise stimulation strong nonlinearity was demonstrated to appear for
|
||||
|
||||
|
||||
\subsection{Conclusion} In this work, noise stimulation was confirmed as a method to access the second-order susceptibility in P-unit responses when at least three fish or two beats were present. It was demonstrated that the theory of weakly nonlinear interactions \citealp{Voronenko2017} is valid in P-units where the stimulus is an amplitude modulation of the carrier and not the whole signal. Nonlinear effects were identified in experimentally recorded low-CV cells primary sensory afferents, the P-units and the ampullary cells. P-units share several features with mammalian
|
||||
auditory nerve fibers and such nonlinear effects might also be expected in the auditory system during the encoding of amplitude modulations \citet{Joris2004}.
|
||||
auditory nerve fibers and such nonlinear effects might also be expected in the auditory system during the encoding of amplitude modulations \citealp{Joris2004}.
|
||||
|
||||
|
||||
|
||||
@ -869,7 +871,8 @@ with $\rho$ a scaling factor that compensates (see below) for the signal transfo
|
||||
\end{equation}
|
||||
% das stimmt so, das c kommt unter die Wurzel!
|
||||
|
||||
A big portion of the total noise was assigned to the signal component ($c_{signal} = 0.9$) and the remaining part to the noise component ($c_{noise} = 0.1$, \subfigrefb{flowchart}\,\panel[iii]{D}). For the application of the Novikov-Furutsu Theorem \citealp{Novikov1965, Furutsu1963} it is critical that both components add up to the initial 100\,$\%$ of the total noise. This is easily achieved in a model without a carrier if the condition $c_{signal}+c_{noise}=1$ is satisfied \citep{Egerland2020}. The situation here is more complicated. To compensate for the transformations the signal undergoes before it enters the LIF core, $\xi_{signal}(t)$ was scaled up by the factor $\rho$ (\eqnref{ram_split}, red in \subfigrefb{flowchart}\,\panel[i]{D}). $\rho$ was found by bisecting the space of possible $\rho$ scaling factors by minimizing the error between the baseline CV (only carrier) and the CV during stimulation with noise split.
|
||||
A big portion of the total noise was assigned to the signal component ($c_{signal} = 0.9$) and the remaining part to the noise component ($c_{noise} = 0.1$, \subfigrefb{flowchart}\,\panel[iii]{D}). For the application of the Novikov-Furutsu Theorem \citealp{Novikov1965, Furutsu1963} it is critical that both components add up to the initial 100\,$\%$ of the total noise. This is easily achieved in a model without a carrier if the condition $c_{signal}+c_{noise}=1$ is satisfied. The situation here is more complicated. To compensate for the transformations the signal undergoes before it enters the LIF core, $\xi_{signal}(t)$ was scaled up by the factor $\rho$ (\eqnref{ram_split}, red in \subfigrefb{flowchart}\,\panel[i]{D}). $\rho$ was found by bisecting the space of possible $\rho$ scaling factors by minimizing the error between the baseline CV (only carrier) and the CV during stimulation with noise split.
|
||||
|
||||
|
||||
\notejg{Etwas kurz, die Tabelle. Oder benutzen wir hier tatsaechlich nur die zwei Modelle?}
|
||||
\begin{table*}[hp!]
|
||||
|
@ -576,19 +576,21 @@ The P-unit population has higher baseline CVs and lower \nli{} values (\subfigre
|
||||
|
||||
|
||||
\section{Discussion}
|
||||
In this work, the second-order susceptibility in spiking responses of P-units was characterized for the scenario where at least three fish are present. A low-CV subpopulation of P-units in \lepto{} was demonstrated to have increased nonlinearity values when \fone{}, \ftwo{}, \fsum{} or \fdiff{} were equal to the mean baseline firing rate \fbase{}. Ampullary cells, with even lower CVs, exhibited even stronger nonlinearity. These nonlinear structures in low-CV cells confirmed the predictions from the weakly nonlinear theory \citet{Voronenko2017}. High-CV P-units did not exhibit any nonlinear interactions. The nonlinearities appearing for the noise frequencies \fone{}, \ftwo{} were confirmed as a proxy for nonlinearities that might arise in response to the beat frequencies \bone{}, \btwo{}, when at least three fish are present.
|
||||
In this work, the second-order susceptibility in spiking responses of P-units was characterized for the scenario where at least three fish are present. A low-CV subpopulation of P-units in \lepto{} was demonstrated to have increased nonlinearity values when \fone{}, \ftwo{}, \fsum{} or \fdiff{} were equal to the mean baseline firing rate \fbase{}. Ampullary cells, with even lower CVs, exhibited even stronger nonlinearity. These nonlinear structures in low-CV cells confirmed the predictions from the weakly nonlinear theory \citealp{Voronenko2017}. High-CV P-units did not exhibit any nonlinear interactions. The nonlinearities appearing for the noise frequencies \fone{}, \ftwo{} were confirmed as a proxy for nonlinearities that might arise in response to the beat frequencies \bone{}, \btwo{}, when at least three fish are present.
|
||||
|
||||
|
||||
|
||||
%\fsum{} or \fdiff{} were equal to \fbase{} \bsum{} or \bdiff{},
|
||||
|
||||
\subsection{Methodological implications}%implying that the
|
||||
\subsubsection{Full nonlinear structure present in LIF models with and without carrier}%implying that the
|
||||
%\subsection{Methodological implications}%implying that the
|
||||
\subsection{Full nonlinear structure present in LIF models with and without carrier}%implying that the
|
||||
%occurring nonlinearities could only be explained based on a (\foneb{}, \ftwob{}, \fsumb{}, \fdiffb{},
|
||||
In this chapter, it was demonstrated that in small homogeneous populations of electrophysiological recorded cells, a diagonal structure appeared when the sum of the input frequencies was equal to \fbase{} in the second-order susceptibility (\figrefb{cells_suscept}, \figrefb{ampullary}). The size of a population is limited by the possible recording duration in an experiment, but there are no such limitations in P-unit models, where an extended nonlinear structure with diagonals, vertical and horizontal lines at \fsumb{}, \fdiffb{}, \foneb{} or \ftwob{} appeared with increased stimulus realizations (\figrefb{model_full}). This nonlinear structure is in line with the one predicted in the framework of the nonlinear response theory, which was developed based on LIF models without carrier (\figrefb{plt_RAM_didactic2}, \citealp{Voronenko2017}) and was here confirmed to be valid in models with carrier (\figrefb{model_and_data}).
|
||||
In this chapter, it was demonstrated that in small homogeneous populations of electrophysiological recorded cells, a diagonal structure appeared when the sum of the input frequencies was equal to \fbase{} in the second-order susceptibility (\figrefb{cells_suscept}, \figrefb{ampullary}). The size of a population is limited by the possible recording duration in an experiment, but there are no such limitations in P-unit models, where an extended nonlinear structure with diagonals, vertical and horizontal lines at \fsumb{}, \fdiffb{}, \foneb{} or \ftwob{} appeared with increased stimulus realizations (\figrefb{model_full}). This nonlinear structure is in line with the one predicted in the framework of the nonlinear response theory, which was developed based on LIF models without carrier \citealp{Voronenko2017} and was here confirmed to be valid in models with carrier (\figrefb{model_and_data}).
|
||||
|
||||
\subsubsection{Noise stimulation approximates the nonlinearity in a three-fish setting}%implying that the
|
||||
In this chapter, the nonlinearity of P-units and ampullary cells was retrieved based on white noise stimulation, where all behaviorally relevant frequencies were simultaneously present in the stimulus. The nonlinearity of LIF models (\citealp{Egerland2020}) and of ampullary cells in paddlefish \citealp{Neiman2011fish} has been previously accessed with bandpass limited white noise.
|
||||
|
||||
|
||||
\subsection{Noise stimulation approximates the nonlinearity in a three-fish setting}%implying that the
|
||||
In this chapter, the nonlinearity of P-units and ampullary cells was retrieved based on white noise stimulation, where all behaviorally relevant frequencies were simultaneously present in the stimulus. The nonlinearity of ampullary cells in paddlefish \citealp{Neiman2011fish} has been previously accessed with bandpass limited white noise.
|
||||
|
||||
Here it was demonstrated that the second-order susceptibility for the two RAM noise input frequencies \fone{} and \ftwo{} can approximate a three-fish setting, where the driving force for the P-unit are two beats with frequencies \bone{} and \btwo{}. This was confirmed by a low-CV P-unit, where nonlinearities in the P-unit response occurred at the sum and difference of the beat frequencies for pure sine-wave stimulation (\figrefb{motivation}). In this P-unit the nonlinearity appeared in a three-wave setting with \bone{} being close to \fbase{}, corresponding to a frequency combination on the vertical line at \foneb{} in the second-order susceptibility (\subfigrefb{model_full}{B}). This implies that even if only the diagonal structure can be accessed with noise stimulation in the second-order susceptibility in an experiment (\subfigrefb{model_full}{A}), it can be taken as an indicator that the whole nonlinear structure should be present during pure sine-wave stimulation in the same cell. With this RAM stimulation was demonstrated to be an effective method to scan the three-fish or two-beat plane and estimate the whole theoretically predicted nonlinear structure in experimentally recorded cells.
|
||||
|
||||
@ -600,26 +602,26 @@ Here it was demonstrated that the second-order susceptibility for the two RAM no
|
||||
%. It could be shown that if the nonlinearity at \fsumb{} could be found with a low stimulus repeat number in electrophysiologically recorded P-units,
|
||||
|
||||
|
||||
%\subsection{Nonlinearity and CV}%
|
||||
\subsection{Nonlinearity and CV}%
|
||||
\subsubsection{Nonlinearity and CV}%
|
||||
In this chapter, the CV has been identified as an important factor influencing nonlinearity in the spiking response, with strong nonlinearity in low-CV cells (\subfigrefb{data_overview_mod}{A--B}). These findings of strong nonlinearity in low-CV cells are in line with previous literature, where it has been proposed that noise linearizes the system \citealp{Roddey2000, Chialvo1997, Voronenko2017}. More noise has been demonstrated to increase the CV and reduce nonlinear phase-locking in vestibular afferents \citealp{Schneider2011}. Reduced noise of low-CV cells has been associated with stronger nonlinearity in pyramidal cells of the ELL \citealp{Chacron2006}.
|
||||
|
||||
\subsubsection{Ampullary cells}%
|
||||
\subsection{Ampullary cells}%
|
||||
In this chapter strong nonlinear interactions were found in a subpopulation of low-CV P-units and low-CV ampullary cells (\subfigrefb{data_overview_mod}{A, B}). Ampullary cells have lower CVs than P-units, do not phase-lock to the EOD, and have unimodal ISI distributions. With this, ampullary cells have very similar properties as the LIF models, where the theory of weakly nonlinear interactions was developed on \citealp{Voronenko2017}. Almost all here investigated ampullary cells had pronounced nonlinearity bands in the second-order susceptibility for small stimulus amplitudes (\figrefb{ampullary}). With this ampullary cells are an experimentally recorded cell population close to the LIF models that fully meets the theoretical predictions of low-CV cells having very strong nonlinearities \citealp{Voronenko2017}. Ampullary cells encode low-frequency changes in the environment e.g. prey movement \citealp{Engelmann2010, Neiman2011fish}. The activity of a prey swarm of \textit{Daphnia} strongly resembles Gaussian white noise \citealp{Neiman2011fish}, as it has been used in this chapter. How such nonlinear effects in ampullary cells might influence prey detection could be addressed in further studies.
|
||||
|
||||
|
||||
%Nonlinear effects only for specific frequency combinations
|
||||
\subsection{The readout from P-units in pyramidal cells is heterogeneous}
|
||||
\subsection{Heterogeneity of P-units might influence nonlinearity}
|
||||
|
||||
%is required to cover all female-intruder combinations} %gain_via_mean das ist der Frequenz plane faktor
|
||||
%associated with nonlinear effects as \fdiffb{} and \fsumb{} were with the same firing rate low-CV P-units
|
||||
%and \figrefb{ROC_with_nonlin}
|
||||
|
||||
The findings in this work are based on a low-CV P-unit model and might require a selective readout from a homogeneous population of low-CV cells to sustain. Since a receptive field is defined as a patch of adjacent receptors on the fish surface \citealp{Maler2009a} and P-units have heterogeneous baseline properties (CV and \fbasesolid{}) that do not depend on the location of the receptor on the fish body \citealp{Hladnik2023} as a result each pyramidal cell in the ELL will integrate over a heterogeneous and not homogeneous P-unit population. The center-surround receptive field organization of superficial and intermediate layer pyramidal cells in addition increases this heterogeneity of the integrated population. Heterogeneous populations with different baseline properties can be more advantageous for the encoding compared to homogeneous populations, as has been shown in P-units and models \citealp{Beiran2018, Hladnik2023}.
|
||||
The nonlinearity in this work are based on a low-CV P-units. To sustain on a population level a selective readout from a homogeneous population of low-CV cells might be required. Since a receptive field is defined as a patch of adjacent receptors on the fish surface \citealp{Maler2009a} and P-units have heterogeneous baseline properties (CV and \fbasesolid{}) that do not depend on the location of the receptor on the fish body \citealp{Hladnik2023} as a result each pyramidal cell in the ELL will integrate over a heterogeneous and not homogeneous P-unit population. The center-surround receptive field organization of superficial and intermediate layer pyramidal cells in addition increases this heterogeneity of the integrated population. Heterogeneous populations with different baseline properties can be more advantageous for the encoding compared to homogeneous populations, as has been shown in P-units and models \citealp{Beiran2018, Hladnik2023}.
|
||||
|
||||
|
||||
%\subsubsection{A heterogeneous readout is required to cover all female-intruder combinations}
|
||||
A heterogeneous readout might be not only physiologically plausible but also required to address the electrosensory cocktail party for all female-intruder combinations. In this chapter, the improved intruder detection was present only for specific beat frequencies (\figrefb{ROC_with_nonlin}), corresponding to findings from previous literature \citealp{Schlungbaum2023}. If pyramidal cells would integrate only from P-units with the same mean baseline firing rate \fbasesolid{} not all female-male encounters, relevant for the context of the electrosensory cocktail party, could be covered (black square, \subfigrefb{ROC_with_nonlin}{C}). Only a heterogeneous population with different \fbasesolid{} (50--450\,Hz, \citealp{Grewe2017, Hladnik2023}) could lead to a vertical displacement of the improved intruder detection (red diagonals in \subfigrefb{ROC_with_nonlin}{C}). Weather integrating from such a heterogeneous population with different \fbasesolid{} would cover this behaviorally relevant range in the electrosensory cocktail party should be addressed in further studies.
|
||||
A heterogeneous readout might be not only physiologically plausible but also required if nonlinear effects would be required independent of \fbase{}. If e.g. nonlinear effects would be considered to address the electrosensory cocktail party, a three fish setting where a detection of a faint signal is addressed for different fish situations. In this chapter, the improved intruder detection was present only for specific beat frequencies (\figrefb{ROC_with_nonlin}), corresponding to findings from previous literature \citealp{Schlungbaum2023}. If pyramidal cells would integrate only from P-units with the same mean baseline firing rate \fbasesolid{} not all female-male encounters, relevant for the context of the electrosensory cocktail party, could be covered (black square, \subfigrefb{ROC_with_nonlin}{C}). Only a heterogeneous population with different \fbasesolid{} (50--450\,Hz, \citealp{Grewe2017, Hladnik2023}) could lead to a vertical displacement of the improved intruder detection (red diagonals in \subfigrefb{ROC_with_nonlin}{C}). Weather integrating from such a heterogeneous population with different \fbasesolid{} would cover this behaviorally relevant range in the electrosensory cocktail party should be addressed in further studies.
|
||||
|
||||
%
|
||||
%Second-order susceptibility was strongest the lower the CV of the use LIF model \citealp{Voronenko2017}.
|
||||
@ -633,8 +635,8 @@ A heterogeneous readout might be not only physiologically plausible but also req
|
||||
|
||||
|
||||
%These low-frequency modulations of the amplitude modulation are
|
||||
\subsection{Encoding of secondary envelopes}%($\n{}=49$) Whether this population of envelope encoders was in addition bursty was not addressed in the corresponding study \citet{Savard2011}.
|
||||
The RAM stimulus used in this chapter is an approximation of the three-fish scenario, where the two generated beats are often slowly modulated at the difference between the two beat frequencies \bdiff{}, known as secondary or social envelope \citealp{Stamper2012Envelope}. In previous works it was shown that low-frequency secondary envelopes are extracted not in P-units but downstream of them in the ELL \citealp{Middleton2006} utilizing threshold nonlinear response curves of the involved neuron \citealp{Middleton2007}. This work addressed that only a small class of cells, with very low CVs would encode the social envolope. This small percentage of the low-CV cells would be in line with no P-units found in the work by \citet{Middleton2007}. On the other hand in previous literature the encoding of social envelopes was attributed to a large subpopulationof P-units with stronger nonlinearities, lower firing rates and higher CVs \citealp{Savard2011}. The explanation for these findings might be in another baseline properties of P-units, bursting, firing repeated burst packages of spikes interleaved with quiescence (unpublished work).
|
||||
\subsection{Encoding of secondary envelopes}%($\n{}=49$) Whether this population of envelope encoders was in addition bursty was not addressed in the corresponding study
|
||||
The RAM stimulus used in this chapter is an approximation of the three-fish scenario, where the two generated beats are often slowly modulated at the difference between the two beat frequencies \bdiff{}, known as secondary or social envelope \citealp{Stamper2012Envelope}. In previous works it was shown that low-frequency secondary envelopes are extracted not in P-units but downstream of them in the ELL \citealp{Middleton2006} utilizing threshold nonlinear response curves of the involved neuron \citealp{Middleton2007}. This work addressed that only a small class of cells, with very low CVs would encode the social envolope. This small percentage of the low-CV cells would be in line with no P-units found in the work \citealp{Middleton2007}. On the other hand in previous literature the encoding of social envelopes was attributed to a large subpopulationof P-units with stronger nonlinearities, lower firing rates and higher CVs \citealp{Savard2011}. The explanation for these findings might be in another baseline properties of P-units, bursting, firing repeated burst packages of spikes interleaved with quiescence (unpublished work).
|
||||
|
||||
|
||||
\subsection{More fish would decrease second-order susceptibility}%
|
||||
@ -642,7 +644,7 @@ When using noise stimulation strong nonlinearity was demonstrated to appear for
|
||||
|
||||
|
||||
\subsection{Conclusion} In this work, noise stimulation was confirmed as a method to access the second-order susceptibility in P-unit responses when at least three fish or two beats were present. It was demonstrated that the theory of weakly nonlinear interactions \citealp{Voronenko2017} is valid in P-units where the stimulus is an amplitude modulation of the carrier and not the whole signal. Nonlinear effects were identified in experimentally recorded low-CV cells primary sensory afferents, the P-units and the ampullary cells. P-units share several features with mammalian
|
||||
auditory nerve fibers and such nonlinear effects might also be expected in the auditory system during the encoding of amplitude modulations \citet{Joris2004}.
|
||||
auditory nerve fibers and such nonlinear effects might also be expected in the auditory system during the encoding of amplitude modulations \citealp{Joris2004}.
|
||||
|
||||
|
||||
|
||||
@ -869,7 +871,8 @@ with $\rho$ a scaling factor that compensates (see below) for the signal transfo
|
||||
\end{equation}
|
||||
% das stimmt so, das c kommt unter die Wurzel!
|
||||
|
||||
A big portion of the total noise was assigned to the signal component ($c_{signal} = 0.9$) and the remaining part to the noise component ($c_{noise} = 0.1$, \subfigrefb{flowchart}\,\panel[iii]{D}). For the application of the Novikov-Furutsu Theorem \citealp{Novikov1965, Furutsu1963} it is critical that both components add up to the initial 100\,$\%$ of the total noise. This is easily achieved in a model without a carrier if the condition $c_{signal}+c_{noise}=1$ is satisfied \citep{Egerland2020}. The situation here is more complicated. To compensate for the transformations the signal undergoes before it enters the LIF core, $\xi_{signal}(t)$ was scaled up by the factor $\rho$ (\eqnref{ram_split}, red in \subfigrefb{flowchart}\,\panel[i]{D}). $\rho$ was found by bisecting the space of possible $\rho$ scaling factors by minimizing the error between the baseline CV (only carrier) and the CV during stimulation with noise split.
|
||||
A big portion of the total noise was assigned to the signal component ($c_{signal} = 0.9$) and the remaining part to the noise component ($c_{noise} = 0.1$, \subfigrefb{flowchart}\,\panel[iii]{D}). For the application of the Novikov-Furutsu Theorem \citealp{Novikov1965, Furutsu1963} it is critical that both components add up to the initial 100\,$\%$ of the total noise. This is easily achieved in a model without a carrier if the condition $c_{signal}+c_{noise}=1$ is satisfied. The situation here is more complicated. To compensate for the transformations the signal undergoes before it enters the LIF core, $\xi_{signal}(t)$ was scaled up by the factor $\rho$ (\eqnref{ram_split}, red in \subfigrefb{flowchart}\,\panel[i]{D}). $\rho$ was found by bisecting the space of possible $\rho$ scaling factors by minimizing the error between the baseline CV (only carrier) and the CV during stimulation with noise split.
|
||||
|
||||
|
||||
\notejg{Etwas kurz, die Tabelle. Oder benutzen wir hier tatsaechlich nur die zwei Modelle?}
|
||||
\begin{table*}[hp!]
|
||||
|
@ -5422,7 +5422,7 @@ def plt_50_Hz_noise(ax, cutoff, power_noise_color='blue', ):
|
||||
|
||||
|
||||
def plt_triangle(ax, fr, fr_stim, eod_fr, cutoff, eod_fr_half_color='darkorange', line_length = 1 / 4, lines=False, power_noise_color='blue',
|
||||
fr_color='magenta', nr = 3, stim_triangle=False, eod_fr_color='crimson', fr_stim_color='darkred'):#[1, 0.4, 0]
|
||||
fr_color='magenta', eod_metrice = True, nr = 3, stim_triangle=False, eod_fr_color='crimson', fr_stim_color='darkred'):#[1, 0.4, 0]
|
||||
#print(fr_color)
|
||||
# half_triangle(ax, counter, fr, color = 'red', label = 'Sum Fr')
|
||||
# embed()
|
||||
@ -5438,6 +5438,7 @@ def plt_triangle(ax, fr, fr_stim, eod_fr, cutoff, eod_fr_half_color='darkorange'
|
||||
quater_triangle(ax, fr_stim * 2, cutoff, color=fr_stim_color, label='')
|
||||
quater_triangle(ax, fr_stim * 3, cutoff, color=fr_stim_color, label='')
|
||||
|
||||
if eod_metrice:
|
||||
ax.plot([0, eod_fr / 4], [eod_fr / 2, eod_fr / 4, ], color=eod_fr_half_color,
|
||||
label='', linestyle='--')
|
||||
ax.plot([0, eod_fr / 4], [eod_fr / 2, eod_fr / 4, ], color=eod_fr_half_color,
|
||||
|
@ -2249,7 +2249,7 @@ def retrieve_mat_plot(stack_final):
|
||||
return new_keys, stack_plot
|
||||
|
||||
|
||||
def square_func2(ax, stack_final, s=0, nr = 3, fr = None, cbar_do=True, perc=True, line_length = 1 / 4, add_nonlin_title = None):
|
||||
def square_func2(ax, stack_final, s=0, nr = 3,eod_metrice = True, fr = None, cbar_do=True, perc=True, line_length = 1 / 4, add_nonlin_title = None):
|
||||
|
||||
|
||||
new_keys, stack_plot = convert_csv_str_to_float(stack_final)
|
||||
@ -2293,7 +2293,7 @@ def square_func2(ax, stack_final, s=0, nr = 3, fr = None, cbar_do=True, perc=Tru
|
||||
ax[s].set_xlim(mat.index[0], mat.index[-1])
|
||||
ax[s].set_ylim(mat.columns[0], mat.columns[-1])
|
||||
#embed()
|
||||
plt_triangle(ax[s], fr, np.mean(fr2), eod_fr, new_keys[-1], nr = nr, line_length = line_length)# eod_fr_half_color='purple', power_noise_color='blue',
|
||||
plt_triangle(ax[s], fr, np.mean(fr2), eod_fr, new_keys[-1], nr = nr, eod_metrice = eod_metrice, line_length = line_length)# eod_fr_half_color='purple', power_noise_color='blue',
|
||||
#fr_color='red', eod_fr_color='magenta', fr_stim_color='darkred'
|
||||
#embed()
|
||||
if cbar_do:
|
||||
@ -2836,7 +2836,7 @@ def plt_squares_special(params, col_desired=2, var_items=['contrasts'], show=Fal
|
||||
# save_all(0, individual_tag, show, '')
|
||||
|
||||
|
||||
def plt_single_square_modl(ax, cell, model, perc, titles, width,nr = 3, titles_plot=False, resize=False):
|
||||
def plt_single_square_modl(ax, cell, model, perc, titles, width,eod_metrice = True, nr = 3, titles_plot=False, resize=False):
|
||||
try:
|
||||
model_show = model[(model.cell == cell)]
|
||||
except:
|
||||
@ -2881,7 +2881,7 @@ def plt_single_square_modl(ax, cell, model, perc, titles, width,nr = 3, titles_
|
||||
im = plt_RAM_perc(ax, perc, stack_plot)
|
||||
|
||||
plt_triangle(ax, model_show.fr.iloc[0], np.round(model_show.fr_stim.iloc[0]),
|
||||
model_show.eod_fr.iloc[0], 300, nr = nr)
|
||||
model_show.eod_fr.iloc[0], 300, nr = nr, eod_metrice = eod_metrice)
|
||||
ax.set_aspect('equal')
|
||||
fig = plt.gcf()
|
||||
cbar, left, bottom, width, height = colorbar_outside(ax, im, fig, add=0, shrink=0.6, width=width) # 0.02
|
||||
@ -4001,7 +4001,7 @@ def plt_data_up(cell, ax, fig, grid, cells_chosen, cell_type='p-unit', width=0.0
|
||||
return ax_data
|
||||
|
||||
|
||||
def plt_data_susept(fig, grid, cells_chosen, amp_given = None, nr = 3, cell_type='p-unit',xlabel = True, lp=10, title=True, cbar_label=True, width=0.005):
|
||||
def plt_data_susept(fig, grid, cells_chosen, eod_metrice = True, amp_given = None, nr = 3, cell_type='p-unit',xlabel = True, lp=10, title=True, cbar_label=True, width=0.005):
|
||||
file_names_exclude = get_file_names_exclude(cell_type)
|
||||
|
||||
if len(cells_chosen) > 0:
|
||||
@ -4016,14 +4016,14 @@ def plt_data_susept(fig, grid, cells_chosen, amp_given = None, nr = 3, cell_type
|
||||
ax_data.append(ax)
|
||||
|
||||
eod_fr, stack_spikes = plt_data_suscept_single(ax, cbar_label, cell, cells, f, fig, file_names_exclude, lp,
|
||||
title, width, nr = nr, amp_given = amp_given, xlabel = xlabel)
|
||||
title, width, nr = nr,eod_metrice = eod_metrice, amp_given = amp_given, xlabel = xlabel)
|
||||
|
||||
stack_spikes_all.append(stack_spikes)
|
||||
eod_frs.append(eod_fr)
|
||||
return ax_data, stack_spikes_all, eod_frs
|
||||
|
||||
|
||||
def plt_data_suscept_single(ax, cbar_label, cell, cells, f, fig, file_names_exclude, lp, title, width, nr = 3, xlabel = True,amp_given = None):
|
||||
def plt_data_suscept_single(ax, cbar_label, cell, cells, f, fig, file_names_exclude, lp, title, width,eod_metrice = True, nr = 3, xlabel = True,amp_given = None):
|
||||
if cell == '2012-07-03-ak-invivo-1':
|
||||
save_name = 'noise_data9_nfft1sec_original__LocalEOD_CutatBeginning_0.05_s_NeurDelay_0.005_s' # _burst_corr
|
||||
else:
|
||||
@ -4126,7 +4126,7 @@ def plt_data_suscept_single(ax, cbar_label, cell, cells, f, fig, file_names_excl
|
||||
ax.set_xlim(0, 300)
|
||||
ax.set_ylim(0, 300)
|
||||
ax.set_aspect('equal')
|
||||
plt_triangle(ax, fr, fr_stim, eod_fr, new_keys[-1],nr = nr, lines=False)
|
||||
plt_triangle(ax, fr, fr_stim, eod_fr, new_keys[-1],nr = nr,eod_metrice = eod_metrice, lines=False)
|
||||
##
|
||||
|
||||
set_clim_same_here([im], mats=[mat], lim_type='up')
|
||||
@ -4257,7 +4257,7 @@ def plt_psds_in_one_squares_next(aa, add, amp, amps_defined, axds, axes, axis, a
|
||||
power_type=False, peaks_extra=False, zorder=1, alpha=1, extra_input=False, fr=None,
|
||||
title_square='', fr_diag = None, nr = 1, line_length=1 / 4, text_scalebar=False, xpos_xlabel=-0.2,
|
||||
add_nonlin_title=None,amp_give = True, color='grey', log_transfer=False, axo2=None, axd2=None,
|
||||
axi=None, iterate_var=[0, 1], normval = 1):
|
||||
axi=None,eod_metrice = True, iterate_var=[0, 1], normval = 1):
|
||||
# if aa == 0:
|
||||
if not fr_diag:
|
||||
fr_diag = fr
|
||||
@ -4332,7 +4332,7 @@ def plt_psds_in_one_squares_next(aa, add, amp, amps_defined, axds, axes, axis, a
|
||||
#embed()
|
||||
mat, test_limits, im, add_nonlin_title = plt_square_here(aa, amp, amps_defined, ax_square, c, cells_plot, ims,
|
||||
stack_final1, [], perc=False, cbar_true=cbar_true, xpos=0, ypos=1.05,
|
||||
color=color,fr = fr,nr = nr, amp_give = amp_give, title_square = title_square, line_length = line_length, ha='left',xpos_xlabel = xpos_xlabel , alpha=alpha, add_nonlin_title = add_nonlin_title )
|
||||
color=color,fr = fr, eod_metrice = eod_metrice, nr = nr, amp_give = amp_give, title_square = title_square, line_length = line_length, ha='left',xpos_xlabel = xpos_xlabel , alpha=alpha, add_nonlin_title = add_nonlin_title )
|
||||
|
||||
ims.append(im)
|
||||
|
||||
@ -5040,9 +5040,9 @@ def plt_cellbody_eigen(grid1, frame, amps_desired, save_names, cells_plot, cell_
|
||||
|
||||
# plt_cellbody_singlecell
|
||||
def plt_cellbody_singlecell(grid1, frame, amps_desired, save_names, cells_plot, cell_type_type, plus=1, ax3=[], xlim=[],
|
||||
burst_corr='_burst_corr_individual', RAM=True,
|
||||
burst_corr='_burst_corr_individual', RAM=True,isi_delta = None,
|
||||
titles=['Low CV P-unit', 'High CV P-unit', 'Ampullary cell'],
|
||||
peaks_extra=[False, False, False], add_texts = [0.25,0], scale_val = False):
|
||||
peaks_extra=[False, False, False], eod_metrice = True, tags_individual = False, xlim_p = [0,1.1], add_texts = [0.25,0], scale_val = False):
|
||||
colors = colors_overview()
|
||||
# axos = []
|
||||
axis = []
|
||||
@ -5140,7 +5140,7 @@ def plt_cellbody_singlecell(grid1, frame, amps_desired, save_names, cells_plot,
|
||||
eod_fr, file_name, grid_lower, ims, load_name, save_names, stack_file, wss, xlim,
|
||||
power_type=power_type,fr = fr, peaks_extra=peaks_extra[c], zorder=zorders[aa], alpha=alpha,
|
||||
extra_input=extra_input, xpos_xlabel=xpos_xlabel, add_nonlin_title=add_nonlin_title,
|
||||
color=colors[cell_type], axo2=axo2, axd2=axd2, axi=axi, iterate_var=amps_defined, normval = normval)
|
||||
color=colors[cell_type], axo2=axo2, axd2=axd2, axi=axi, iterate_var=amps_defined, normval = normval, eod_metrice = eod_metrice)
|
||||
diag_vals.append(np.median(diagonals_prj_l))
|
||||
mats.append(mat)
|
||||
else:
|
||||
@ -5268,10 +5268,12 @@ def plt_cellbody_singlecell(grid1, frame, amps_desired, save_names, cells_plot,
|
||||
# hspace=0.25)
|
||||
ax_isi = plt.subplot(grid_p[0])
|
||||
ax_p = plt.subplot(grid_p[1])
|
||||
xlim_p = [0,1.1]
|
||||
|
||||
ax_isi = base_cells_susept(ax_isi, ax_p, c, cell, cell_type, cells_plot, colors, eod_fr, frame,
|
||||
isi, right, spikes_base, stack,xlim_p,add_texts =add_texts, titles = titles, peaks = True)
|
||||
|
||||
if isi_delta:
|
||||
ax_isi.set_xticks_delta(isi_delta)
|
||||
# tags.insert(0, ax_p)
|
||||
tags.insert(0, ax_p)
|
||||
tags.insert(0, ax_isi)
|
||||
@ -5291,7 +5293,11 @@ def plt_cellbody_singlecell(grid1, frame, amps_desired, save_names, cells_plot,
|
||||
try:
|
||||
#embed()
|
||||
if len(cells_plot) == 1:
|
||||
if tags_individual:
|
||||
tags_susept_pictures(tags_cell[0],xoffs=np.array([-4.7, -3.2,-3.2, -4.7,-6.3, -2.7,-3.2]), yoffs=np.array([3, 3, 3, 5.5, 5.5, 5.5, 5.5]))
|
||||
else:
|
||||
tags_susept_pictures(tags_cell, yoffs=np.array([3, 3, 5.5, 5.5, 5.5, 5.5]))
|
||||
|
||||
else:
|
||||
tags_susept_pictures(tags_cell)
|
||||
except:
|
||||
@ -5303,7 +5309,7 @@ def base_cells_susept(ax_isi, ax_p, c, cell, cell_type, cells_plot, colors, eod_
|
||||
stack, xlim,texts_left = [0.25,0], add_texts = [0.25,0], titles=['', '', '', '', ''], pos = -0.25, peaks = False, fr_name = '$f_{Base}$',xlim_i = [0, 16]):
|
||||
|
||||
|
||||
ax_isi.text(-0.2, 0.5, 'Baseline', rotation=90, ha='center', va='center', transform=ax_isi.transAxes)
|
||||
#ax_isi.text(-0.2, 0.5, 'Baseline', rotation=90, ha='center', va='center', transform=ax_isi.transAxes)
|
||||
plt_susept_isi_base(c, cell_type, cells_plot, 'grey', ax_isi, isi, xlim=xlim_i,
|
||||
clip_on=True) # colors[str(cell_type)]
|
||||
|
||||
@ -5632,7 +5638,7 @@ def labels_for_psds(axd2, axi, axo2, extra_input, right='middle', chi_pos = -0.3
|
||||
|
||||
|
||||
def trasnfer_ylabel():
|
||||
return '$|\mathcal{\chi}_{1}|$'#'$|\chi_{1}|$'#r'$|\mathcal{X}_{1}|$\,[Hz]'#' '
|
||||
return '$|\mathcal{\chi}_{1}|\,$[Hz]'#'$|\chi_{1}|$'#r'$|\mathcal{X}_{1}|$\,[Hz]'#' '
|
||||
|
||||
|
||||
def get_base_params(cell, cell_type_type, frame):
|
||||
@ -5909,7 +5915,7 @@ def get_max_several_amp_squares(add, amp, amps_defined, files, load_name, stack_
|
||||
|
||||
|
||||
def plt_square_here(aa, amp, amps_defined, ax_square, c, cells_plot, ims, stack_final1, xlim, line_length = 1 / 4, alpha=1, cbar_true=True,
|
||||
perc=True, amp_give = True, ha='right',nr = 3, fr = None, title_square = '', xpos_xlabel =-0.2, ypos=0.05, xpos=0.1, color='white', add_nonlin_title = None):
|
||||
perc=True, amp_give = True, eod_metrice = True, ha='right',nr = 3, fr = None, title_square = '', xpos_xlabel =-0.2, ypos=0.05, xpos=0.1, color='white', add_nonlin_title = None):
|
||||
if aa == len(amps_defined) - 1:
|
||||
cbar_do = False
|
||||
else:
|
||||
@ -5917,7 +5923,7 @@ def plt_square_here(aa, amp, amps_defined, ax_square, c, cells_plot, ims, stack_
|
||||
# print('cbar'+str(cbar_do))
|
||||
print(add_nonlin_title)
|
||||
#embed()
|
||||
cbar, mat, im, add_nonlin_title = square_func2([ax_square], stack_final1,fr = fr, nr = nr, line_length = line_length, cbar_do=cbar_do, perc=perc, add_nonlin_title= add_nonlin_title)
|
||||
cbar, mat, im, add_nonlin_title = square_func2([ax_square], stack_final1, eod_metrice = eod_metrice, fr = fr, nr = nr, line_length = line_length, cbar_do=cbar_do, perc=perc, add_nonlin_title= add_nonlin_title)
|
||||
ims.append(im)
|
||||
if xlim:
|
||||
ax_square.set_xlim(xlim)
|
||||
@ -6033,8 +6039,8 @@ def plt_diagonal(alpha, axd, color, db, eod_fr, fr, mat, peaks_extra, xlim, zord
|
||||
axd.plot(axis_d / normval, diagonals_prj_l, color=color, alpha=alpha-0.05, zorder=zorder)
|
||||
if peaks_extra:
|
||||
#try:
|
||||
axd.axhline(np.median(diagonals_prj_l), linewidth=0.45, linestyle='--', color=color,
|
||||
alpha=alpha, zorder = zorder +1)
|
||||
axd.axhline(np.median(diagonals_prj_l), linewidth=0.75, linestyle='--', color=color,
|
||||
alpha=alpha, zorder = zorder +1)#0.45
|
||||
plt_peaks_several(['fr'], [fr / normval], [diagonals_prj_l], 0, axd, diagonals_prj_l, ['grey'], axis_d / normval,
|
||||
ms=5, zorder = zorder+1)
|
||||
#except:
|
||||
@ -7036,7 +7042,7 @@ def cells_eigen(amp_desired=[0.5, 1, 5], xlim=[0, 1.1], cell_class=' Ampullary',
|
||||
save_visualization(pdf=True)
|
||||
|
||||
|
||||
def ampullary_punit(amp_desired = [5,20], xlim=[],add_texts = [0.25,0], cells_plot2=[], RAM=True,scale_val = False,
|
||||
def ampullary_punit(eod_metrice = True, amp_desired = [5,20], isi_delta = None, xlim_p = [0, 1.1], tags_individual = False, xlim=[],add_texts = [0.25,0], cells_plot2=[], RAM=True,scale_val = False,
|
||||
titles=['Low-CV P-unit,', 'High-CV P-unit', 'Ampullary cell,'], peaks_extra=[True, True, True]):#[0, 1.1]
|
||||
plot_style()
|
||||
|
||||
@ -7077,7 +7083,7 @@ def ampullary_punit(amp_desired = [5,20], xlim=[],add_texts = [0.25,0], cells_pl
|
||||
grid1 = big_grid_susept_pics(cells_plot2, bottom=0.065)
|
||||
|
||||
plt_cellbody_singlecell(grid1, frame, amps_desired, save_names, cells_plot2, cell_type_type, xlim=xlim, plus=1,
|
||||
burst_corr='_burst_corr_individual',RAM=RAM,add_texts = add_texts, titles=titles, peaks_extra=peaks_extra,scale_val = scale_val, )
|
||||
burst_corr='_burst_corr_individual', eod_metrice = eod_metrice, isi_delta = isi_delta, tags_individual = tags_individual, RAM=RAM,add_texts = add_texts, titles=titles, xlim_p = xlim_p, peaks_extra=peaks_extra,scale_val = scale_val, )
|
||||
|
||||
# plt.show()
|
||||
save_visualization(pdf=True, individual_tag = cells_plot2[0])
|
||||
|