From 441990411dde009680f63a7377246311ae5896cb Mon Sep 17 00:00:00 2001 From: didihou <didi.hou@rwth-aachen.de> Date: Thu, 14 Sep 2023 02:01:12 +0200 Subject: [PATCH] / --- .../multi-area-model-checkpoint.ipynb | 43 ++++++++++++++----- multi-area-model.ipynb | 43 ++++++++++++++----- 2 files changed, 64 insertions(+), 22 deletions(-) diff --git a/.ipynb_checkpoints/multi-area-model-checkpoint.ipynb b/.ipynb_checkpoints/multi-area-model-checkpoint.ipynb index 2476922..77cddd4 100644 --- a/.ipynb_checkpoints/multi-area-model-checkpoint.ipynb +++ b/.ipynb_checkpoints/multi-area-model-checkpoint.ipynb @@ -465,7 +465,7 @@ "id": "bae85d86-157c-47a2-9826-860b410a440e", "metadata": {}, "source": [ - "Based on: <br>\n", + "Full-scale interareal connectivity is from: <br>\n", "Schmidt M, Bakker R, Hilgetag CC, Diesmann M & van Albada SJ <br>\n", "Multi-scale account of the network structure of macaque visual cortex <br>\n", "Brain Structure and Function (2018), 223: 1409 [https://doi.org/10.1007/s00429-017-1554-4](https://doi.org/10.1007/s00429-017-1554-4) <br> \n", @@ -570,21 +570,21 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 18, "id": "ae19bcc3", "metadata": { "tags": [] }, "outputs": [ { - "ename": "NameError", - "evalue": "name 'A' is not defined", + "ename": "TypeError", + "evalue": "plot_resting_state() missing 1 required positional argument: 'data_path'", "output_type": "error", "traceback": [ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)", - "Cell \u001b[0;32mIn [16], line 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mM2E_visualize_resting_state\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m plot_resting_state\n\u001b[0;32m----> 2\u001b[0m plot_resting_state(M, A, label_spikes, data_path)\n", - "\u001b[0;31mNameError\u001b[0m: name 'A' is not defined" + "\u001b[0;31mTypeError\u001b[0m Traceback (most recent call last)", + "Cell \u001b[0;32mIn [18], line 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mM2E_visualize_resting_state\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m plot_resting_state\n\u001b[0;32m----> 2\u001b[0m plot_resting_state(M, data_path)\n", + "\u001b[0;31mTypeError\u001b[0m: plot_resting_state() missing 1 required positional argument: 'data_path'" ] } ], @@ -606,10 +606,22 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 19, "id": "721d1f03-df25-468d-8075-a807025a9c58", "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "NameError", + "evalue": "name 'A' is not defined", + "output_type": "error", + "traceback": [ + "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", + "\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)", + "Cell \u001b[0;32mIn [19], line 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;66;03m# %%capture captured\u001b[39;00m\n\u001b[0;32m----> 2\u001b[0m A\u001b[38;5;241m.\u001b[39mshow_rates()\n", + "\u001b[0;31mNameError\u001b[0m: name 'A' is not defined" + ] + } + ], "source": [ "# %%capture captured\n", "A.show_rates()" @@ -617,10 +629,19 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 20, "id": "5b40db5d-51b2-4d16-b36b-9f1995452b05", "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "SyntaxError", + "evalue": "invalid syntax (2792692880.py, line 1)", + "output_type": "error", + "traceback": [ + "\u001b[0;36m Cell \u001b[0;32mIn [20], line 1\u001b[0;36m\u001b[0m\n\u001b[0;31m |Index|0|1|2|3|4|5|6|7|\u001b[0m\n\u001b[0m ^\u001b[0m\n\u001b[0;31mSyntaxError\u001b[0m\u001b[0;31m:\u001b[0m invalid syntax\n" + ] + } + ], "source": [ "|Index|0|1|2|3|4|5|6|7|\n", "|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|\n", diff --git a/multi-area-model.ipynb b/multi-area-model.ipynb index 2476922..77cddd4 100644 --- a/multi-area-model.ipynb +++ b/multi-area-model.ipynb @@ -465,7 +465,7 @@ "id": "bae85d86-157c-47a2-9826-860b410a440e", "metadata": {}, "source": [ - "Based on: <br>\n", + "Full-scale interareal connectivity is from: <br>\n", "Schmidt M, Bakker R, Hilgetag CC, Diesmann M & van Albada SJ <br>\n", "Multi-scale account of the network structure of macaque visual cortex <br>\n", "Brain Structure and Function (2018), 223: 1409 [https://doi.org/10.1007/s00429-017-1554-4](https://doi.org/10.1007/s00429-017-1554-4) <br> \n", @@ -570,21 +570,21 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 18, "id": "ae19bcc3", "metadata": { "tags": [] }, "outputs": [ { - "ename": "NameError", - "evalue": "name 'A' is not defined", + "ename": "TypeError", + "evalue": "plot_resting_state() missing 1 required positional argument: 'data_path'", "output_type": "error", "traceback": [ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)", - "Cell \u001b[0;32mIn [16], line 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mM2E_visualize_resting_state\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m plot_resting_state\n\u001b[0;32m----> 2\u001b[0m plot_resting_state(M, A, label_spikes, data_path)\n", - "\u001b[0;31mNameError\u001b[0m: name 'A' is not defined" + "\u001b[0;31mTypeError\u001b[0m Traceback (most recent call last)", + "Cell \u001b[0;32mIn [18], line 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mM2E_visualize_resting_state\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m plot_resting_state\n\u001b[0;32m----> 2\u001b[0m plot_resting_state(M, data_path)\n", + "\u001b[0;31mTypeError\u001b[0m: plot_resting_state() missing 1 required positional argument: 'data_path'" ] } ], @@ -606,10 +606,22 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 19, "id": "721d1f03-df25-468d-8075-a807025a9c58", "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "NameError", + "evalue": "name 'A' is not defined", + "output_type": "error", + "traceback": [ + "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", + "\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)", + "Cell \u001b[0;32mIn [19], line 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;66;03m# %%capture captured\u001b[39;00m\n\u001b[0;32m----> 2\u001b[0m A\u001b[38;5;241m.\u001b[39mshow_rates()\n", + "\u001b[0;31mNameError\u001b[0m: name 'A' is not defined" + ] + } + ], "source": [ "# %%capture captured\n", "A.show_rates()" @@ -617,10 +629,19 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 20, "id": "5b40db5d-51b2-4d16-b36b-9f1995452b05", "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "SyntaxError", + "evalue": "invalid syntax (2792692880.py, line 1)", + "output_type": "error", + "traceback": [ + "\u001b[0;36m Cell \u001b[0;32mIn [20], line 1\u001b[0;36m\u001b[0m\n\u001b[0;31m |Index|0|1|2|3|4|5|6|7|\u001b[0m\n\u001b[0m ^\u001b[0m\n\u001b[0;31mSyntaxError\u001b[0m\u001b[0;31m:\u001b[0m invalid syntax\n" + ] + } + ], "source": [ "|Index|0|1|2|3|4|5|6|7|\n", "|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|\n", -- GitLab