|
@@ -9,7 +9,7 @@
|
|
|
"\n",
|
|
|
"These exercises cover the basics introduced in Tutorial 1\n",
|
|
|
"\n",
|
|
|
- "## Preparation: Download public ephys dataset\n",
|
|
|
+ "## [Only required on MYBINDER] Preparation: Download public ephys dataset\n",
|
|
|
"On Linux you can download the publicly available dataset via the command below. On other systems, please download the files manually from [l101210-001.ns2](https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/raw/master/blackrock/blackrock_2_1/l101210-001.ns2), [l101210-001.nev](https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/raw/master/blackrock/blackrock_2_1/l101210-001.nev) and [l101210-001.ns5](https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/raw/master/blackrock/blackrock_2_1/l101210-001.ns5) and save them in the same folder as this notebook.\n"
|
|
|
]
|
|
|
},
|
|
@@ -23,46 +23,46 @@
|
|
|
"name": "stdout",
|
|
|
"output_type": "stream",
|
|
|
"text": [
|
|
|
- "--2021-08-24 21:51:53-- https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/raw/master/blackrock/blackrock_2_1/l101210-001.ns2\n",
|
|
|
+ "--2021-09-29 16:46:57-- https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/raw/master/blackrock/blackrock_2_1/l101210-001.ns2\n",
|
|
|
"Resolving gin.g-node.org (gin.g-node.org)... 141.84.41.219\n",
|
|
|
"Connecting to gin.g-node.org (gin.g-node.org)|141.84.41.219|:443... connected.\n",
|
|
|
"HTTP request sent, awaiting response... 200 OK\n",
|
|
|
"Length: 43748 (43K) [application/octet-stream]\n",
|
|
|
- "Saving to: 'l101210-001.ns2’\n",
|
|
|
+ "Saving to: 'reach_to_grasp_material/l101210-001.ns2’\n",
|
|
|
"\n",
|
|
|
- "l101210-001.ns2 100%[===================>] 42,72K --.-KB/s in 0,1s \n",
|
|
|
+ "reach_to_grasp_mate 100%[===================>] 42,72K --.-KB/s in 0,05s \n",
|
|
|
"\n",
|
|
|
- "2021-08-24 21:51:59 (327 KB/s) - 'l101210-001.ns2’ saved [43748/43748]\n",
|
|
|
+ "2021-09-29 16:46:58 (855 KB/s) - 'reach_to_grasp_material/l101210-001.ns2’ saved [43748/43748]\n",
|
|
|
"\n",
|
|
|
- "--2021-08-24 21:51:59-- https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/raw/master/blackrock/blackrock_2_1/l101210-001.nev\n",
|
|
|
+ "--2021-09-29 16:46:58-- https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/raw/master/blackrock/blackrock_2_1/l101210-001.nev\n",
|
|
|
"Resolving gin.g-node.org (gin.g-node.org)... 141.84.41.219\n",
|
|
|
"Connecting to gin.g-node.org (gin.g-node.org)|141.84.41.219|:443... connected.\n",
|
|
|
"HTTP request sent, awaiting response... 200 OK\n",
|
|
|
"Length: 1483616 (1,4M) [application/octet-stream]\n",
|
|
|
- "Saving to: 'l101210-001.nev’\n",
|
|
|
+ "Saving to: 'reach_to_grasp_material/l101210-001.nev’\n",
|
|
|
"\n",
|
|
|
- "l101210-001.nev 100%[===================>] 1,41M 2,51MB/s in 0,6s \n",
|
|
|
+ "reach_to_grasp_mate 100%[===================>] 1,41M 1,97MB/s in 0,7s \n",
|
|
|
"\n",
|
|
|
- "2021-08-24 21:52:00 (2,51 MB/s) - 'l101210-001.nev’ saved [1483616/1483616]\n",
|
|
|
+ "2021-09-29 16:46:59 (1,97 MB/s) - 'reach_to_grasp_material/l101210-001.nev’ saved [1483616/1483616]\n",
|
|
|
"\n",
|
|
|
- "--2021-08-24 21:52:00-- https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/raw/master/blackrock/blackrock_2_1/l101210-001.ns5\n",
|
|
|
+ "--2021-09-29 16:46:59-- https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/raw/master/blackrock/blackrock_2_1/l101210-001.ns5\n",
|
|
|
"Resolving gin.g-node.org (gin.g-node.org)... 141.84.41.219\n",
|
|
|
"Connecting to gin.g-node.org (gin.g-node.org)|141.84.41.219|:443... connected.\n",
|
|
|
"HTTP request sent, awaiting response... 200 OK\n",
|
|
|
"Length: 20971616 (20M) [application/octet-stream]\n",
|
|
|
- "Saving to: 'l101210-001.ns5’\n",
|
|
|
+ "Saving to: 'reach_to_grasp_material/l101210-001.ns5’\n",
|
|
|
"\n",
|
|
|
- "l101210-001.ns5 100%[===================>] 20,00M 5,22MB/s in 3,7s \n",
|
|
|
+ "reach_to_grasp_mate 100%[===================>] 20,00M 2,68MB/s in 8,6s \n",
|
|
|
"\n",
|
|
|
- "2021-08-24 21:52:04 (5,36 MB/s) - 'l101210-001.ns5’ saved [20971616/20971616]\n",
|
|
|
+ "2021-09-29 16:47:09 (2,33 MB/s) - 'reach_to_grasp_material/l101210-001.ns5’ saved [20971616/20971616]\n",
|
|
|
"\n"
|
|
|
]
|
|
|
}
|
|
|
],
|
|
|
"source": [
|
|
|
- "!wget -O l101210-001.ns2 https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/raw/master/blackrock/blackrock_2_1/l101210-001.ns2\n",
|
|
|
- "!wget -O l101210-001.nev https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/raw/master/blackrock/blackrock_2_1/l101210-001.nev\n",
|
|
|
- "!wget -O l101210-001.ns5 https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/raw/master/blackrock/blackrock_2_1/l101210-001.ns5"
|
|
|
+ "!wget -O reach_to_grasp_material/l101210-001.ns2 https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/raw/master/blackrock/blackrock_2_1/l101210-001.ns2\n",
|
|
|
+ "!wget -O reach_to_grasp_material/l101210-001.nev https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/raw/master/blackrock/blackrock_2_1/l101210-001.nev\n",
|
|
|
+ "!wget -O reach_to_grasp_material/l101210-001.ns5 https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/raw/master/blackrock/blackrock_2_1/l101210-001.ns5"
|
|
|
]
|
|
|
},
|
|
|
{
|
|
@@ -100,7 +100,7 @@
|
|
|
],
|
|
|
"source": [
|
|
|
"import neo\n",
|
|
|
- "io = neo.io.BlackrockIO('l101210-001')\n",
|
|
|
+ "io = neo.io.BlackrockIO('reach_to_grasp_material/l101210-001')\n",
|
|
|
"block = io.read_block()\n",
|
|
|
"\n",
|
|
|
"print(f'Number of segments: {len(block.segments)}')\n",
|
|
@@ -183,7 +183,7 @@
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|
|
|
- "filename = 'l101210-001.nix'\n",
|
|
|
+ "filename = 'reach_to_grasp_material/l101210-001.nix'\n",
|
|
|
"with neo.io.NixIO(filename, 'ow') as io:\n",
|
|
|
" io.write_block(block)"
|
|
|
]
|
|
@@ -203,7 +203,7 @@
|
|
|
}
|
|
|
],
|
|
|
"source": [
|
|
|
- "ls -lh l101210-001.nix"
|
|
|
+ "ls -lh reach_to_grasp_material/l101210-001.nix"
|
|
|
]
|
|
|
},
|
|
|
{
|
|
@@ -232,7 +232,7 @@
|
|
|
"name": "python",
|
|
|
"nbconvert_exporter": "python",
|
|
|
"pygments_lexer": "ipython3",
|
|
|
- "version": "3.9.6"
|
|
|
+ "version": "3.9.7"
|
|
|
}
|
|
|
},
|
|
|
"nbformat": 4,
|