|
10 | 10 | }, |
11 | 11 | { |
12 | 12 | "cell_type": "markdown", |
13 | | - "id": "9d08a6ac", |
| 13 | + "id": "b1507681", |
14 | 14 | "metadata": {}, |
15 | 15 | "source": [ |
16 | 16 | "Two-pass connection test: peak-to-peak, then correlation with found average" |
|
26 | 26 | }, |
27 | 27 | { |
28 | 28 | "cell_type": "code", |
29 | | - "execution_count": 1, |
30 | | - "id": "e8eabfaa", |
| 29 | + "execution_count": 4, |
| 30 | + "id": "1a27acb6", |
31 | 31 | "metadata": {}, |
32 | 32 | "outputs": [], |
33 | 33 | "source": [ |
34 | 34 | "#" |
35 | 35 | ] |
36 | 36 | }, |
| 37 | + { |
| 38 | + "cell_type": "code", |
| 39 | + "execution_count": 5, |
| 40 | + "id": "bee3b159", |
| 41 | + "metadata": {}, |
| 42 | + "outputs": [], |
| 43 | + "source": [ |
| 44 | + "using Revise\n", |
| 45 | + "import PyPlot" |
| 46 | + ] |
| 47 | + }, |
| 48 | + { |
| 49 | + "cell_type": "code", |
| 50 | + "execution_count": null, |
| 51 | + "id": "dbc0f21d", |
| 52 | + "metadata": {}, |
| 53 | + "outputs": [], |
| 54 | + "source": [ |
| 55 | + "PyPlot." |
| 56 | + ] |
| 57 | + }, |
| 58 | + { |
| 59 | + "cell_type": "code", |
| 60 | + "execution_count": null, |
| 61 | + "id": "30d87cbe", |
| 62 | + "metadata": {}, |
| 63 | + "outputs": [], |
| 64 | + "source": [] |
| 65 | + }, |
37 | 66 | { |
38 | 67 | "cell_type": "code", |
39 | 68 | "execution_count": 2, |
|
56 | 85 | "name": "stdout", |
57 | 86 | "output_type": "stream", |
58 | 87 | "text": [ |
59 | | - "\u001b[36m\u001b[1m[ \u001b[22m\u001b[39m\u001b[36m\u001b[1mInfo: \u001b[22m\u001b[39mPrecompiling VoltoMapSim [f713100b-c48c-421a-b480-5fcb4c589a9e]\n", |
60 | | - "\u001b[36m\u001b[1m[ \u001b[22m\u001b[39m\u001b[36m\u001b[1mInfo: \u001b[22m\u001b[39mSkipping precompilation since __precompile__(false). Importing VoltoMapSim [f713100b-c48c-421a-b480-5fcb4c589a9e].\n", |
61 | | - "\u001b[36m\u001b[1m[ \u001b[22m\u001b[39m\u001b[36m\u001b[1mInfo: \u001b[22m\u001b[39mPrecompiling Sciplotlib [61be95e5-9550-4d5f-a203-92a5acbc3116]\n" |
| 88 | + "\u001b[36m\u001b[1m[ \u001b[22m\u001b[39m\u001b[36m\u001b[1mInfo: \u001b[22m\u001b[39mPrecompiling VoltoMapSim [f713100b-c48c-421a-b480-5fcb4c589a9e]\n" |
62 | 89 | ] |
63 | 90 | } |
64 | 91 | ], |
|
105 | 132 | { |
106 | 133 | "cell_type": "code", |
107 | 134 | "execution_count": 5, |
108 | | - "id": "af42d809", |
| 135 | + "id": "89a2ffe4", |
109 | 136 | "metadata": { |
110 | 137 | "scrolled": false |
111 | 138 | }, |
|
124 | 151 | }, |
125 | 152 | { |
126 | 153 | "cell_type": "markdown", |
127 | | - "id": "1e9f39a2", |
| 154 | + "id": "d88c266e", |
128 | 155 | "metadata": {}, |
129 | 156 | "source": [ |
130 | 157 | "(To speed this up (precompile this further): investigate with SnoopCompile or JET. Not now)." |
|
142 | 169 | }, |
143 | 170 | { |
144 | 171 | "cell_type": "markdown", |
145 | | - "id": "9bc73355", |
| 172 | + "id": "0c755c58", |
146 | 173 | "metadata": {}, |
147 | 174 | "source": [ |
148 | 175 | "## First pass: peak-to-peak" |
149 | 176 | ] |
150 | 177 | }, |
151 | 178 | { |
152 | 179 | "cell_type": "markdown", |
153 | | - "id": "2b4c0308", |
| 180 | + "id": "bf6cdb2d", |
154 | 181 | "metadata": {}, |
155 | 182 | "source": [ |
156 | 183 | "Let's start with just neuron 1 as postsyn." |
|
159 | 186 | { |
160 | 187 | "cell_type": "code", |
161 | 188 | "execution_count": 9, |
162 | | - "id": "ee0b7433", |
| 189 | + "id": "7683c9ca", |
163 | 190 | "metadata": {}, |
164 | 191 | "outputs": [], |
165 | 192 | "source": [ |
|
169 | 196 | { |
170 | 197 | "cell_type": "code", |
171 | 198 | "execution_count": 10, |
172 | | - "id": "16409b9a", |
| 199 | + "id": "e19ebaf6", |
173 | 200 | "metadata": {}, |
174 | 201 | "outputs": [], |
175 | 202 | "source": [ |
|
179 | 206 | { |
180 | 207 | "cell_type": "code", |
181 | 208 | "execution_count": 12, |
182 | | - "id": "23721462", |
| 209 | + "id": "075d319f", |
183 | 210 | "metadata": {}, |
184 | 211 | "outputs": [ |
185 | 212 | { |
|
200 | 227 | { |
201 | 228 | "cell_type": "code", |
202 | 229 | "execution_count": 21, |
203 | | - "id": "268dd91a", |
| 230 | + "id": "5aabc8be", |
204 | 231 | "metadata": {}, |
205 | 232 | "outputs": [ |
206 | 233 | { |
|
242 | 269 | }, |
243 | 270 | { |
244 | 271 | "cell_type": "markdown", |
245 | | - "id": "a25554e7", |
| 272 | + "id": "41e29f57", |
246 | 273 | "metadata": {}, |
247 | 274 | "source": [ |
248 | 275 | "We take all inputs with `predicted_type` :exc.\n", |
|
257 | 284 | { |
258 | 285 | "cell_type": "code", |
259 | 286 | "execution_count": 17, |
260 | | - "id": "9a545872", |
| 287 | + "id": "597c3636", |
261 | 288 | "metadata": {}, |
262 | 289 | "outputs": [], |
263 | 290 | "source": [ |
|
278 | 305 | "=#" |
279 | 306 | ] |
280 | 307 | }, |
| 308 | + { |
| 309 | + "cell_type": "markdown", |
| 310 | + "id": "7bd1e675", |
| 311 | + "metadata": {}, |
| 312 | + "source": [ |
| 313 | + "Now\n", |
| 314 | + "- Get the :exc input detections for neuron 1\n", |
| 315 | + "- Average their STA\n", |
| 316 | + "- Apply this template to STAs of all inputs" |
| 317 | + ] |
| 318 | + }, |
| 319 | + { |
| 320 | + "cell_type": "code", |
| 321 | + "execution_count": 22, |
| 322 | + "id": "f03e241e", |
| 323 | + "metadata": { |
| 324 | + "lines_to_next_cell": 0 |
| 325 | + }, |
| 326 | + "outputs": [], |
| 327 | + "source": [ |
| 328 | + "# But first: cache STAs :)" |
| 329 | + ] |
| 330 | + }, |
281 | 331 | { |
282 | 332 | "cell_type": "code", |
283 | 333 | "execution_count": null, |
284 | | - "id": "8b7e118c", |
285 | | - "metadata": {}, |
| 334 | + "id": "a52d7c5c", |
| 335 | + "metadata": { |
| 336 | + "lines_to_next_cell": 2 |
| 337 | + }, |
286 | 338 | "outputs": [], |
287 | 339 | "source": [] |
288 | 340 | } |
|
293 | 345 | "formats": "ipynb,jl:light" |
294 | 346 | }, |
295 | 347 | "kernelspec": { |
296 | | - "display_name": "Julia-preloaded 1.7.0", |
| 348 | + "display_name": "Julia 1.8.1", |
297 | 349 | "language": "julia", |
298 | | - "name": "julia-preloaded-1.7" |
| 350 | + "name": "julia-1.8" |
299 | 351 | }, |
300 | 352 | "language_info": { |
301 | 353 | "file_extension": ".jl", |
302 | 354 | "mimetype": "application/julia", |
303 | 355 | "name": "julia", |
304 | | - "version": "1.7.0" |
| 356 | + "version": "1.8.1" |
305 | 357 | }, |
306 | 358 | "toc": { |
307 | 359 | "base_numbering": 1, |
|
0 commit comments