You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/data_release/data_release_behavior.ipynb
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,10 @@
16
16
},
17
17
{
18
18
"cell_type": "markdown",
19
+
"id": "dd157e91",
20
+
"metadata": {
21
+
"collapsed": false
22
+
},
19
23
"source": [
20
24
"## Overview of the Data\n",
21
25
"We have released behavioral data throughout learning from our standardized training pipeline, implemented across 9 labs in 7 institutions. Users can download behavioral data from mice throughout their training, and analyse the transition from novice to expert behavior unfold. The behavioral data is associated with 198 mice up until 2020-03-23, as used in [The International Brain Laboratory et al. 2020](https://elifesciences.org/articles/63711). This dataset contains notably information on the sensory stimuli presented to the mouse, as well as mouse decisions and response times.\n",
@@ -35,10 +39,7 @@
35
39
"Note:\n",
36
40
"\n",
37
41
"* The tag associated to this release is `2021_Q1_IBL_et_al_Behaviour`"
Copy file name to clipboardExpand all lines: examples/data_release/data_release_brainwidemap.ipynb
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,10 @@
16
16
},
17
17
{
18
18
"cell_type": "markdown",
19
+
"id": "e9be5894",
20
+
"metadata": {
21
+
"collapsed": false
22
+
},
19
23
"source": [
20
24
"## Overview of the Data\n",
21
25
"We have released data from 459 Neuropixel recording sessions, which encompass 699 probe insertions, obtained in 139 subjects performing the IBL task across 12 different laboratories. As output of spike-sorting, there are 376730 units; of which 45085 are considered to be of good quality. In total, 138 brain regions were recorded in sufficient numbers for inclusion in IBL’s analyses [(IBL et al. 2023)](https://www.biorxiv.org/content/10.1101/2023.07.04.547681v2).\n",
@@ -35,10 +39,7 @@
35
39
"\n",
36
40
"## Receive updates on the data\n",
37
41
"To receive a notification that we released new datasets, please fill up [this form](https://forms.gle/9ex2vL1JwV4QXnf98)\n"
Copy file name to clipboardExpand all lines: examples/exploring_data/data_download.ipynb
+60-51Lines changed: 60 additions & 51 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,26 @@
1
1
{
2
2
"cells": [
3
+
{
4
+
"cell_type": "code",
5
+
"execution_count": null,
6
+
"metadata": {},
7
+
"outputs": [],
8
+
"source": [
9
+
"# Turn off logging and disable tqdm this is a hidden cell on docs page\n",
10
+
"import logging\n",
11
+
"import os\n",
12
+
"\n",
13
+
"logger = logging.getLogger('ibllib')\n",
14
+
"logger.setLevel(logging.CRITICAL)\n",
15
+
"\n",
16
+
"os.environ[\"TQDM_DISABLE\"] = \"1\""
17
+
]
18
+
},
3
19
{
4
20
"cell_type": "markdown",
5
21
"metadata": {
6
-
"collapsed": false
22
+
"collapsed": false,
23
+
"nbsphinx": "hidden"
7
24
},
8
25
"source": [
9
26
"# Download the public datasets\n",
@@ -21,10 +38,10 @@
21
38
"source": [
22
39
"## Installation\n",
23
40
"### Environment\n",
24
-
"To use IBL data you will need a python environment with python > 3.7. To create a new environment from scratch you can install [anaconda](https://www.anaconda.com/products/distribution#download-section) and follow the instructions below to create a new python environment (more information can also be found [here](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html))\n",
41
+
"To use IBL data you will need a python environment with python > 3.8. To create a new environment from scratch you can install [anaconda](https://www.anaconda.com/products/distribution#download-section) and follow the instructions below to create a new python environment (more information can also be found [here](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html))\n",
25
42
"\n",
26
43
"```\n",
27
-
"conda create --name ibl python=3.9\n",
44
+
"conda create --name ibl python=3.11\n",
28
45
"```\n",
29
46
"Make sure to always activate this environment before installing or working with the IBL data\n",
30
47
"```\n",
@@ -149,54 +166,51 @@
149
166
{
150
167
"cell_type": "code",
151
168
"execution_count": null,
169
+
"metadata": {},
152
170
"outputs": [],
153
171
"source": [
154
172
"# Find sessions that have spikes.times datasets\n",
"[Click here](https://int-brain-lab.github.io/ONE/notebooks/one_search/one_search.html) for a complete guide to searching using ONE.\n",
165
183
"\n",
166
184
"\n",
167
185
"### Find data associated with a release or publication\n",
168
186
"Datasets are often associated to a publication, and are tagged as such to facilitate reproducibility of analysis. You can list all tags and their associated publications like this:"
169
-
],
170
-
"metadata": {
171
-
"collapsed": false
172
-
}
187
+
]
173
188
},
174
189
{
175
190
"cell_type": "code",
176
191
"execution_count": null,
192
+
"metadata": {},
177
193
"outputs": [],
178
194
"source": [
179
195
"# List and print all tags in the public database\n",
180
196
"tags = {t['name']: t['description'] for t in one.alyx.rest('tags', 'list') if t['public']}\n",
181
197
"for key, value in tags.items():\n",
182
198
" print(f\"{key}\\n{value}\\n\")"
183
-
],
184
-
"metadata": {
185
-
"collapsed": false
186
-
}
199
+
]
187
200
},
188
201
{
189
202
"cell_type": "markdown",
190
-
"source": [
191
-
"You can use the tag to restrict your searches to a specific data release and as a filter when browsing the public database:"
192
-
],
193
203
"metadata": {
194
204
"collapsed": false
195
-
}
205
+
},
206
+
"source": [
207
+
"You can use the tag to restrict your searches to a specific data release and as a filter when browsing the public database:"
208
+
]
196
209
},
197
210
{
198
211
"cell_type": "code",
199
212
"execution_count": null,
213
+
"metadata": {},
200
214
"outputs": [],
201
215
"source": [
202
216
"# Note that tags are associated with datasets originally\n",
@@ -212,10 +226,7 @@
212
226
"# To return to the full cache containing an index of all IBL experiments\n",
"You can also get this list, using [one.alyx.rest](https://int-brain-lab.github.io/ONE/notebooks/one_advanced/one_advanced.html), however it is a little slower."
377
-
],
378
384
"metadata": {
379
385
"collapsed": false,
380
386
"pycharm": {
381
387
"name": "#%% md\n"
382
388
}
383
-
}
389
+
},
390
+
"source": [
391
+
"You can also get this list, using [one.alyx.rest](https://int-brain-lab.github.io/ONE/notebooks/one_advanced/one_advanced.html), however it is a little slower."
0 commit comments