|
8 | 8 | "# Loading Ephys Data (AP and LFP band)" |
9 | 9 | ] |
10 | 10 | }, |
| 11 | + { |
| 12 | + "cell_type": "code", |
| 13 | + "execution_count": null, |
| 14 | + "id": "81b9fe17", |
| 15 | + "metadata": { |
| 16 | + "nbsphinx": "hidden" |
| 17 | + }, |
| 18 | + "outputs": [], |
| 19 | + "source": [ |
| 20 | + "# Turn off logging, this is a hidden cell on docs page\n", |
| 21 | + "import logging\n", |
| 22 | + "logger = logging.getLogger('ibllib')\n", |
| 23 | + "logger.setLevel(logging.CRITICAL)" |
| 24 | + ] |
| 25 | + }, |
11 | 26 | { |
12 | 27 | "cell_type": "markdown", |
13 | 28 | "id": "d82e6bf7", |
|
48 | 63 | "cell_type": "code", |
49 | 64 | "execution_count": null, |
50 | 65 | "id": "3368df3e", |
51 | | - "metadata": { |
52 | | - "execution": { |
53 | | - "iopub.execute_input": "2022-02-02T10:31:54.250698Z", |
54 | | - "iopub.status.busy": "2022-02-02T10:31:54.250698Z", |
55 | | - "iopub.status.idle": "2022-02-02T10:31:57.172533Z", |
56 | | - "shell.execute_reply": "2022-02-02T10:31:57.172533Z" |
57 | | - } |
58 | | - }, |
| 66 | + "metadata": {}, |
59 | 67 | "outputs": [], |
60 | 68 | "source": [ |
61 | 69 | "from one.api import ONE\n", |
|
78 | 86 | "cell_type": "code", |
79 | 87 | "execution_count": null, |
80 | 88 | "id": "1f973b85", |
81 | | - "metadata": { |
82 | | - "execution": { |
83 | | - "iopub.execute_input": "2022-02-02T10:31:57.187782Z", |
84 | | - "iopub.status.busy": "2022-02-02T10:31:57.172533Z", |
85 | | - "iopub.status.idle": "2022-02-02T10:31:57.435331Z", |
86 | | - "shell.execute_reply": "2022-02-02T10:31:57.435331Z" |
87 | | - } |
88 | | - }, |
| 89 | + "metadata": {}, |
89 | 90 | "outputs": [], |
90 | 91 | "source": [ |
91 | 92 | "lf_psd = one.load_object(eid, f'ephysSpectralDensityLF', collection=f'raw_ephys_data/{name}')" |
|
132 | 133 | "cell_type": "code", |
133 | 134 | "execution_count": null, |
134 | 135 | "id": "fd36e0d0", |
135 | | - "metadata": { |
136 | | - "execution": { |
137 | | - "iopub.execute_input": "2022-02-02T10:31:57.435331Z", |
138 | | - "iopub.status.busy": "2022-02-02T10:31:57.435331Z", |
139 | | - "iopub.status.idle": "2022-02-02T10:31:57.473192Z", |
140 | | - "shell.execute_reply": "2022-02-02T10:31:57.473192Z" |
141 | | - } |
142 | | - }, |
| 136 | + "metadata": {}, |
143 | 137 | "outputs": [], |
144 | 138 | "source": [ |
145 | 139 | "# The objects ephysTimeRms and ephysSpectralDensity contain data for all channels on the probe including the channel used\n", |
|
164 | 158 | "cell_type": "code", |
165 | 159 | "execution_count": null, |
166 | 160 | "id": "0cf30d8c", |
167 | | - "metadata": { |
168 | | - "execution": { |
169 | | - "iopub.execute_input": "2022-02-02T10:31:57.473192Z", |
170 | | - "iopub.status.busy": "2022-02-02T10:31:57.473192Z", |
171 | | - "iopub.status.idle": "2022-02-02T10:31:57.488822Z", |
172 | | - "shell.execute_reply": "2022-02-02T10:31:57.488822Z" |
173 | | - } |
174 | | - }, |
| 161 | + "metadata": {}, |
175 | 162 | "outputs": [], |
176 | 163 | "source": [ |
177 | 164 | "import numpy as np\n", |
|
196 | 183 | "cell_type": "code", |
197 | 184 | "execution_count": null, |
198 | 185 | "id": "67cac014", |
199 | | - "metadata": { |
200 | | - "execution": { |
201 | | - "iopub.execute_input": "2022-02-02T10:31:57.488822Z", |
202 | | - "iopub.status.busy": "2022-02-02T10:31:57.488822Z", |
203 | | - "iopub.status.idle": "2022-02-02T10:31:58.275398Z", |
204 | | - "shell.execute_reply": "2022-02-02T10:31:58.275398Z" |
205 | | - } |
206 | | - }, |
| 186 | + "metadata": {}, |
207 | 187 | "outputs": [], |
208 | 188 | "source": [ |
209 | 189 | "from brainbox.ephys_plots import image_lfp_spectrum_plot\n", |
|
0 commit comments