소스 검색

gin commit from nit-ope-de04

New files: 2
Modified files: 10
sprenger 2 년 전
부모
커밋
6eb414b077
12개의 변경된 파일121개의 추가작업 그리고 123개의 파일을 삭제
  1. 5 13
      hands_on_1.ipynb
  2. 20 20
      hands_on_1_solution.ipynb
  3. 1 1
      hands_on_2.ipynb
  4. 1 1
      hands_on_2_solution.ipynb
  5. 40 41
      hands_on_3.ipynb
  6. 28 5
      hands_on_3_solution.ipynb
  7. 0 0
      i140703-001.nix
  8. BIN
      reach_to_grasp_material/i140703-001.nix
  9. BIN
      setup_file.nix
  10. 3 27
      tutorial_1.ipynb
  11. 13 13
      tutorial_2.ipynb
  12. 10 2
      tutorial_3.ipynb

+ 5 - 13
hands_on_1.ipynb

@@ -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"
    ]
   },
@@ -20,9 +20,9 @@
    "metadata": {},
    "outputs": [],
    "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"
    ]
   },
   {
@@ -89,14 +89,6 @@
    "outputs": [],
    "source": []
   },
-  {
-   "cell_type": "code",
-   "execution_count": null,
-   "id": "f9c5d03b",
-   "metadata": {},
-   "outputs": [],
-   "source": []
-  },
   {
    "cell_type": "markdown",
    "id": "81aa0351",
@@ -123,7 +115,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.9.6"
+   "version": "3.9.7"
   }
  },
  "nbformat": 4,

+ 20 - 20
hands_on_1_solution.ipynb

@@ -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,

+ 1 - 1
hands_on_2.ipynb

@@ -81,7 +81,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.9.6"
+   "version": "3.9.7"
   }
  },
  "nbformat": 4,

+ 1 - 1
hands_on_2_solution.ipynb

@@ -204,7 +204,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.9.6"
+   "version": "3.9.7"
   }
  },
  "nbformat": 4,

+ 40 - 41
hands_on_3.ipynb

@@ -5,7 +5,7 @@
    "id": "503cb687",
    "metadata": {},
    "source": [
-    "# Hands-on session 3: Elephant\n",
+    "# Hands-on session 3: Elephant (Solution)\n",
     "\n",
     "These exercises build on concepts introduced in Tutorial 3\n",
     "\n",
@@ -32,6 +32,14 @@
     "import viziphant"
    ]
   },
+  {
+   "cell_type": "markdown",
+   "id": "ae02a990",
+   "metadata": {},
+   "source": [
+    "### [Only required on MYBINDER] Download of the dataset"
+   ]
+  },
   {
    "cell_type": "markdown",
    "id": "fb0d97b0",
@@ -55,7 +63,7 @@
    },
    "outputs": [],
    "source": [
-    "!wget -O i140703-001.nix https://gin.g-node.org/sprenger/multielectrode_grasp/raw/dataset_nix/datasets_nix/i140703-001_cut_74sec.nix"
+    "!wget -O reach_to_grasp_material/i140703-001.nix https://gin.g-node.org/sprenger/multielectrode_grasp/raw/dataset_nix/datasets_nix/i140703-001_cut_74sec.nix"
    ]
   },
   {
@@ -66,7 +74,7 @@
     "## Data preparation\n",
     "\n",
     "\n",
-    "1. Load the data `i140703-001.nix` file using the `neo.io.NixIO` into a neo Block."
+    "1. Load the data `reach_to_grasp_material/i140703-001.nix` file using the `neo.io.NixIO` into a neo Block."
    ]
   },
   {
@@ -79,7 +87,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "bb1229d4",
+   "id": "049f38c0",
    "metadata": {},
    "source": [
     "2. In close analogy to the beginning of tutorial 3, prepare a Neo `Block`, containing one `Segment` of SGHF data of the first correct trial. Name this `Segement` by the variable `trial`, as in tutorial 3.  In contrast to the lecture, we will cut data from the trial start `TS-ON` to reward administration indicated by event `RW-ON`. To this end, first find also the `RW-ON` events similar to how we found `TS-ON` in tutorial 3. Then, in the call to `neo.utils.add_epoch()`, supply these as a second event `event2=` *instead* of giving `t_pre=0` and `t_post=2*pq.s`. This will cut from event 1 to event 2, instead of a fixed amount of 2 s around event 1 (as in tutorial 3)."
@@ -88,12 +96,8 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "id": "55270d93",
-   "metadata": {
-    "pycharm": {
-     "name": "#%%\n"
-    }
-   },
+   "id": "caaf7e0d",
+   "metadata": {},
    "outputs": [],
    "source": []
   },
@@ -118,6 +122,18 @@
     "3. As in tutorial 3, select only good quality neurons using the annotations (i.e., SUA units, more than 10000 spikes,...)"
    ]
   },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "id": "4d7cad57",
+   "metadata": {
+    "pycharm": {
+     "name": "#%%\n"
+    }
+   },
+   "outputs": [],
+   "source": []
+  },
   {
    "cell_type": "markdown",
    "id": "10d32abe",
@@ -133,47 +149,34 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "id": "23263b16",
+   "id": "23f7d6b4",
    "metadata": {
     "pycharm": {
      "name": "#%%\n"
     }
    },
    "outputs": [],
+   "source": []
+  },
+  {
+   "cell_type": "markdown",
+   "id": "1c3d05a6",
+   "metadata": {},
    "source": [
-    "# Fix parameters for SPADE\n",
-    "binsize = 5 * pq.ms\n",
-    "winlen = 1\n",
-    "min_spikes = 2\n",
-    "n_surr = 0\n",
-    "min_neu = 2\n",
-    "min_occ = 2"
+    "6. Let's look at the output in `patterns`. How many patterns were found? How does one pattern look as an output?"
    ]
   },
   {
    "cell_type": "code",
    "execution_count": null,
-   "id": "23f7d6b4",
+   "id": "994e3df5",
    "metadata": {
     "pycharm": {
      "name": "#%%\n"
     }
    },
    "outputs": [],
-   "source": [
-    "result = elephant.spade.spade(\n",
-    "        spiketrains=spiketrains, binsize=binsize, winlen=winlen,\n",
-    "        min_spikes=min_spikes, n_surr=n_surr, min_neu=min_neu, min_occ=min_occ)\n",
-    "patterns = result['patterns']"
-   ]
-  },
-  {
-   "cell_type": "markdown",
-   "id": "1c3d05a6",
-   "metadata": {},
-   "source": [
-    "6. Let's look at the output in `patterns`. How many patterns were found? How does one pattern look as an output?"
-   ]
+   "source": []
   },
   {
    "cell_type": "markdown",
@@ -193,9 +196,7 @@
     }
    },
    "outputs": [],
-   "source": [
-    "viziphant.spade.plot_patterns(spiketrains, patterns[:5], circle_sizes=(1, 50, 70))\n"
-   ]
+   "source": []
   },
   {
    "cell_type": "code",
@@ -207,14 +208,12 @@
     }
    },
    "outputs": [],
-   "source": [
-    "viziphant.spade.plot_patterns_statistics(patterns)"
-   ]
+   "source": []
   },
   {
    "cell_type": "code",
    "execution_count": null,
-   "id": "d2b28248",
+   "id": "15f335e8",
    "metadata": {},
    "outputs": [],
    "source": []
@@ -236,7 +235,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.8.0"
+   "version": "3.9.7"
   }
  },
  "nbformat": 4,

+ 28 - 5
hands_on_3_solution.ipynb

@@ -32,6 +32,14 @@
     "import viziphant"
    ]
   },
+  {
+   "cell_type": "markdown",
+   "id": "ae02a990",
+   "metadata": {},
+   "source": [
+    "### [Only required on MYBINDER] Download of the dataset"
+   ]
+  },
   {
    "cell_type": "markdown",
    "id": "fb0d97b0",
@@ -53,9 +61,24 @@
      "name": "#%%\n"
     }
    },
-   "outputs": [],
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "--2021-09-29 16:52:14--  https://gin.g-node.org/sprenger/multielectrode_grasp/raw/dataset_nix/datasets_nix/i140703-001_cut_74sec.nix\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: 47349440 (45M) [application/octet-stream]\n",
+      "Saving to: 'reach_to_grasp_material/i140703-001.nix’\n",
+      "\n",
+      "_grasp_material/i14  15%[==>                 ]   6,89M  1,76MB/s    eta 24s    ^C\n"
+     ]
+    }
+   ],
    "source": [
-    "!wget -O i140703-001.nix https://gin.g-node.org/sprenger/multielectrode_grasp/raw/dataset_nix/datasets_nix/i140703-001_cut_74sec.nix"
+    "!wget -O reach_to_grasp_material/i140703-001.nix https://gin.g-node.org/sprenger/multielectrode_grasp/raw/dataset_nix/datasets_nix/i140703-001_cut_74sec.nix"
    ]
   },
   {
@@ -66,7 +89,7 @@
     "## Data preparation\n",
     "\n",
     "\n",
-    "1. Load the data `i140703-001.nix` file using the `neo.io.NixIO` into a neo Block."
+    "1. Load the data `reach_to_grasp_material/i140703-001.nix` file using the `neo.io.NixIO` into a neo Block."
    ]
   },
   {
@@ -76,7 +99,7 @@
    "metadata": {},
    "outputs": [],
    "source": [
-    "with neo.io.NixIO('i140703-001.nix', 'ro') as io:\n",
+    "with neo.io.NixIO('reach_to_grasp_material/i140703-001.nix', 'ro') as io:\n",
     "    block = io.read_block()\n",
     "segment = block.segments[0]"
    ]
@@ -424,7 +447,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.8.0"
+   "version": "3.9.7"
   }
  },
  "nbformat": 4,

+ 0 - 0
i140703-001.nix


BIN
reach_to_grasp_material/i140703-001.nix


BIN
setup_file.nix


+ 3 - 27
tutorial_1.ipynb

@@ -897,7 +897,7 @@
     }
    },
    "source": [
-    "# Time for ...\n",
+    "# Questions?\n",
     "\n"
    ]
   },
@@ -910,31 +910,7 @@
     }
    },
    "source": [
-    "- Questions"
-   ]
-  },
-  {
-   "cell_type": "markdown",
-   "id": "3283b41c",
-   "metadata": {
-    "slideshow": {
-     "slide_type": "fragment"
-    }
-   },
-   "source": [
-    "- Break\n"
-   ]
-  },
-  {
-   "cell_type": "markdown",
-   "id": "a66e0e79",
-   "metadata": {
-    "slideshow": {
-     "slide_type": "fragment"
-    }
-   },
-   "source": [
-    "- Interactive exploration of neo structures!"
+    "Keep in mind these overviews to help you navigate Neo structures."
    ]
   },
   {
@@ -970,7 +946,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.9.6"
+   "version": "3.9.7"
   },
   "livereveal": {
    "autolaunch": true,

+ 13 - 13
tutorial_2.ipynb

@@ -55,7 +55,7 @@
     "### Data and metadata sources\n",
     "<img src=\"reach_to_grasp_material/R2G_files.png\" width=\"700\"/>\n",
     "\n",
-    "**GOOD NEWS!** A compiled version of a part of this dataset including metadata is available as NIX file [here](https://gin.g-node.org/sprenger/multielectrode_grasp/raw/dataset_nix/datasets_nix/i140703-001_cut_637sec.nix)."
+    "**GOOD NEWS!** A compiled version of a part of this dataset including metadata is available as NIX file [here](https://gin.g-node.org/sprenger/multielectrode_grasp/raw/dataset_nix/datasets_nix/i140703-001_cut_637sec.nix). See next cells for how to fetch this on MyBinder."
    ]
   },
   {
@@ -63,11 +63,11 @@
    "id": "86089bd9",
    "metadata": {
     "slideshow": {
-     "slide_type": "subslide"
+     "slide_type": "skip"
     }
    },
    "source": [
-    "### Fetching the data file"
+    "### [Only required on MYBINDER] Fetching the data file"
    ]
   },
   {
@@ -75,7 +75,7 @@
    "id": "33d1fceb",
    "metadata": {
     "slideshow": {
-     "slide_type": "fragment"
+     "slide_type": "skip"
     }
    },
    "source": [
@@ -84,11 +84,11 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 1,
+   "execution_count": 3,
    "id": "10d61396",
    "metadata": {
     "slideshow": {
-     "slide_type": "fragment"
+     "slide_type": "skip"
     }
    },
    "outputs": [
@@ -96,22 +96,22 @@
      "name": "stdout",
      "output_type": "stream",
      "text": [
-      "--2021-08-30 14:37:26--  https://gin.g-node.org/sprenger/multielectrode_grasp/raw/dataset_nix/datasets_nix/i140703-001_cut_74sec.nix\n",
+      "--2021-09-29 15:24:49--  https://gin.g-node.org/NeuralEnsemble/neo_elephant_teaching/raw/master/reach_to_grasp_material/i140703-001.nix\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: 47349440 (45M) [application/octet-stream]\n",
+      "Length: 0 [text/plain]\n",
       "Saving to: 'i140703-001.nix’\n",
       "\n",
-      "i140703-001.nix     100%[===================>]  45,16M  3,41MB/s    in 16s     \n",
+      "i140703-001.nix         [ <=>                ]       0  --.-KB/s    in 0s      \n",
       "\n",
-      "2021-08-30 14:37:42 (2,84 MB/s) - 'i140703-001.nix’ saved [47349440/47349440]\n",
+      "2021-09-29 15:24:49 (0,00 B/s) - 'i140703-001.nix’ saved [0/0]\n",
       "\n"
      ]
     }
    ],
    "source": [
-    "!wget -O i140703-001.nix https://gin.g-node.org/sprenger/multielectrode_grasp/raw/dataset_nix/datasets_nix/i140703-001_cut_74sec.nix"
+    "!wget -O reach_to_grasp_material/i140703-001.nix https://gin.g-node.org/NeuralEnsemble/neo_elephant_teaching/raw/master/reach_to_grasp_material/i140703-001.nix"
    ]
   },
   {
@@ -167,7 +167,7 @@
    ],
    "source": [
     "import neo\n",
-    "filename = 'i140703-001.nix'\n",
+    "filename = 'reach_to_grasp_material/i140703-001.nix'\n",
     "with neo.io.NixIO(filename, 'ro') as io:\n",
     "    block = io.read_block()\n",
     "block"
@@ -660,7 +660,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.9.6"
+   "version": "3.9.7"
   },
   "livereveal": {
    "autolaunch": true,

+ 10 - 2
tutorial_3.ipynb

@@ -151,6 +151,14 @@
     "%matplotlib inline"
    ]
   },
+  {
+   "cell_type": "markdown",
+   "id": "7b9f140d",
+   "metadata": {},
+   "source": [
+    "### [Only on MyBinder] Download of dataset"
+   ]
+  },
   {
    "cell_type": "markdown",
    "id": "1337e17f",
@@ -180,7 +188,7 @@
    },
    "outputs": [],
    "source": [
-    "!wget -O i140703-001.nix https://gin.g-node.org/sprenger/multielectrode_grasp/raw/dataset_nix/datasets_nix/i140703-001_cut_74sec.nix"
+    "!wget -O reach_to_grasp_material/i140703-001.nix https://gin.g-node.org/sprenger/multielectrode_grasp/raw/dataset_nix/datasets_nix/i140703-001_cut_74sec.nix"
    ]
   },
   {
@@ -1279,7 +1287,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.8.0"
+   "version": "3.9.7"
   },
   "livereveal": {
    "autolaunch": true,