|
137 | 137 | }, |
138 | 138 | { |
139 | 139 | "cell_type": "code", |
140 | | - "execution_count": 3, |
| 140 | + "execution_count": null, |
141 | 141 | "metadata": { |
142 | 142 | "id": "QYrgfZC2J573" |
143 | 143 | }, |
|
158 | 158 | }, |
159 | 159 | { |
160 | 160 | "cell_type": "code", |
161 | | - "execution_count": 4, |
| 161 | + "execution_count": null, |
162 | 162 | "metadata": { |
163 | 163 | "id": "t8hE0WuTO10X" |
164 | 164 | }, |
|
189 | 189 | " elif \"ImageSeries\" in t or \"TwoPhotonSeries\" in t:\n", |
190 | 190 | " modalities[name.lower()] = \"ScreenInterpolator\"\n", |
191 | 191 | "\n", |
192 | | - " for mod_name, module in nwb.processing.items():\n", |
| 192 | + " for _mod_name, module in nwb.processing.items():\n", |
193 | 193 | " for dname, dobj in module.data_interfaces.items():\n", |
194 | 194 | " t = type(dobj).__name__\n", |
195 | 195 | " if \"LFP\" in t:\n", |
|
1149 | 1149 | }, |
1150 | 1150 | { |
1151 | 1151 | "cell_type": "code", |
1152 | | - "execution_count": 27, |
| 1152 | + "execution_count": null, |
1153 | 1153 | "metadata": { |
1154 | 1154 | "colab": { |
1155 | 1155 | "base_uri": "https://localhost:8080/", |
|
1180 | 1180 | " \"50 ms — balanced (default-like)\",\n", |
1181 | 1181 | " \"200 ms — smooth firing rate estimate, low resolution\"]\n", |
1182 | 1182 | "\n", |
1183 | | - "for ax, w, label in zip(axes, windows, labels):\n", |
| 1183 | + "for ax, w, label in zip(axes, windows, labels, strict=False):\n", |
1184 | 1184 | " si = SpikeInterpolator(\n", |
1185 | 1185 | " \"experanto_000623/spikes\",\n", |
1186 | 1186 | " cache_data=True,\n", |
|
1214 | 1214 | }, |
1215 | 1215 | { |
1216 | 1216 | "cell_type": "code", |
1217 | | - "execution_count": 28, |
| 1217 | + "execution_count": null, |
1218 | 1218 | "metadata": { |
1219 | 1219 | "colab": { |
1220 | 1220 | "base_uri": "https://localhost:8080/", |
|
1247 | 1247 | "seq_lfp = SequenceInterpolator(\"experanto_000623/lfp_macro\")\n", |
1248 | 1248 | "t_window = np.linspace(t_623[0], t_623[0] + 10, max(n_points)) # 10s window\n", |
1249 | 1249 | "\n", |
1250 | | - "for ax, n, label in zip(axes, n_points, labels):\n", |
| 1250 | + "for ax, n, label in zip(axes, n_points, labels, strict=False):\n", |
1251 | 1251 | " t_query = np.linspace(t_623[0], t_623[0] + 10, n)\n", |
1252 | 1252 | " result = seq_lfp.interpolate(t_query)\n", |
1253 | 1253 | " ax.plot(t_query, result[:, 0], lw=0.8)\n", |
|
0 commit comments