diff --git a/000458/AllenInstitute/README.md b/000458/AllenInstitute/README.md new file mode 100644 index 0000000..c226598 --- /dev/null +++ b/000458/AllenInstitute/README.md @@ -0,0 +1,7 @@ +# Reanalysis of Dandiset 000458 + +This submission provides a walkthrough of basic reanalysis of Dandiset #000458: `reanalysis.ipynb` + +The notebook makes an approximate reproduction of Figure 4B from the 2023 _Neuron_ article [“Active cortical networks promote shunting fast synaptic inhibition _in vivo_”](https://doi.org/10.1016/j.neuron.2023.08.005) by Burman et al. + +It is meant as a companion to the upcoming blog post: ["Unraveling Anesthesia's Effect on Brain Activity"](https://github.com/dandi/dandi.github.io/pull/74) \ No newline at end of file diff --git a/000458/AllenInstitute/environment.yaml b/000458/AllenInstitute/environment.yaml new file mode 100644 index 0000000..6a32812 --- /dev/null +++ b/000458/AllenInstitute/environment.yaml @@ -0,0 +1,11 @@ +# run: conda env create --file environment.yaml +name: blog_000458_env +channels: + - conda-forge +dependencies: + - python==3.12 + - pip + - pip: + - dandi + - ipykernel + - matplotlib \ No newline at end of file diff --git a/000458/AllenInstitute/reanalysis.ipynb b/000458/AllenInstitute/reanalysis.ipynb new file mode 100644 index 0000000..f621dc6 --- /dev/null +++ b/000458/AllenInstitute/reanalysis.ipynb @@ -0,0 +1,1438 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Reanalyzing Dandiset #000458" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "This notebook works through some basic reanalysis of Dandiset #000458 to demonstrate how easy and straightforward the process is!\n", + "\n", + "We will aim to make an approximate reproduction of Figure 4B from the 2023 _Neuron_ article [“Active cortical networks promote shunting fast synaptic inhibition _in vivo_”](https://doi.org/10.1016/j.neuron.2023.08.005) by Burman et al." + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [], + "source": [ + "from pynwb import NWBHDF5IO\n", + "from fsspec import filesystem\n", + "from h5py import File\n", + "from dandi.dandiapi import DandiAPIClient\n", + "import numpy as np\n", + "import matplotlib.pyplot as plt\n", + "\n", + "def stream_nwbfile(DANDISET_ID, file_path):\n", + " '''Stream NWB file from DANDI archive.\n", + " \n", + " Parameters\n", + " ----------\n", + " DANDISET_ID : str\n", + " Dandiset ID\n", + " file_path : str\n", + " Path to NWB file in DANDI archive\n", + " \n", + " Returns\n", + " -------\n", + " nwbfile : NWBFile\n", + " NWB file\n", + " io : NWBHDF5IO\n", + " NWB IO object (for closing)\n", + " \n", + " Notes\n", + " -----\n", + " The io object must be closed after use.\n", + " '''\n", + " with DandiAPIClient() as client:\n", + " asset = client.get_dandiset(DANDISET_ID, 'draft').get_asset_by_path(file_path)\n", + " s3_url = asset.get_content_url(follow_redirects=1, strip_query=True)\n", + " fs = filesystem(\"http\")\n", + " file_system = fs.open(s3_url, \"rb\")\n", + " file = File(file_system, mode=\"r\")\n", + " io = NWBHDF5IO(file=file, load_namespaces=True)\n", + " nwbfile = io.read()\n", + " return nwbfile, io" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "First we'll stream in the NWB file directly from DANDI using the function defined above." + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "/opt/anaconda3/envs/blog_000458_env/lib/python3.12/site-packages/hdmf/utils.py:668: UserWarning: Ignoring cached namespace 'hdmf-common' version 1.5.1 because version 1.8.0 is already loaded.\n", + " return func(args[0], **pargs)\n", + "/opt/anaconda3/envs/blog_000458_env/lib/python3.12/site-packages/hdmf/utils.py:668: UserWarning: Ignoring cached namespace 'core' version 2.5.0 because version 2.7.0 is already loaded.\n", + " return func(args[0], **pargs)\n", + "/opt/anaconda3/envs/blog_000458_env/lib/python3.12/site-packages/hdmf/utils.py:668: UserWarning: Ignoring cached namespace 'hdmf-experimental' version 0.2.0 because version 0.5.0 is already loaded.\n", + " return func(args[0], **pargs)\n" + ] + }, + { + "data": { + "text/html": [ + "\n", + " \n", + " \n", + " \n", + "
\n", + " | location | \n", + "group | \n", + "group_name | \n", + "is_data_valid | \n", + "probe_vertical_position | \n", + "probe_horizontal_position | \n", + "x | \n", + "y | \n", + "z | \n", + "reference | \n", + "
---|---|---|---|---|---|---|---|---|---|---|
id | \n", + "\n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " |
0 | \n", + "VISl | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "377.0 | \n", + "58.0 | \n", + "82.0 | \n", + "stainless steel skull screw, left CB | \n", + "
1 | \n", + "VISp | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "377.0 | \n", + "24.0 | \n", + "141.0 | \n", + "stainless steel skull screw, left CB | \n", + "
2 | \n", + "RSPagl | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "377.0 | \n", + "20.0 | \n", + "188.0 | \n", + "stainless steel skull screw, left CB | \n", + "
3 | \n", + "VISal | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "333.0 | \n", + "47.0 | \n", + "79.0 | \n", + "stainless steel skull screw, left CB | \n", + "
... and 1178 more rows.
\n", + " | location | \n", + "group | \n", + "group_name | \n", + "is_data_valid | \n", + "probe_vertical_position | \n", + "probe_horizontal_position | \n", + "x | \n", + "y | \n", + "z | \n", + "reference | \n", + "
---|---|---|---|---|---|---|---|---|---|---|
id | \n", + "\n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " |
0 | \n", + "VISl | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "377.0 | \n", + "58.0 | \n", + "82.0 | \n", + "stainless steel skull screw, left CB | \n", + "
1 | \n", + "VISp | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "377.0 | \n", + "24.0 | \n", + "141.0 | \n", + "stainless steel skull screw, left CB | \n", + "
2 | \n", + "RSPagl | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "377.0 | \n", + "20.0 | \n", + "188.0 | \n", + "stainless steel skull screw, left CB | \n", + "
3 | \n", + "VISal | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "333.0 | \n", + "47.0 | \n", + "79.0 | \n", + "stainless steel skull screw, left CB | \n", + "
... and 1178 more rows.
\n", + " | location | \n", + "group | \n", + "group_name | \n", + "is_data_valid | \n", + "probe_vertical_position | \n", + "probe_horizontal_position | \n", + "x | \n", + "y | \n", + "z | \n", + "reference | \n", + "
---|---|---|---|---|---|---|---|---|---|---|
id | \n", + "\n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " |
0 | \n", + "VISl | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "377.0 | \n", + "58.0 | \n", + "82.0 | \n", + "stainless steel skull screw, left CB | \n", + "
1 | \n", + "VISp | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "377.0 | \n", + "24.0 | \n", + "141.0 | \n", + "stainless steel skull screw, left CB | \n", + "
2 | \n", + "RSPagl | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "377.0 | \n", + "20.0 | \n", + "188.0 | \n", + "stainless steel skull screw, left CB | \n", + "
3 | \n", + "VISal | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "333.0 | \n", + "47.0 | \n", + "79.0 | \n", + "stainless steel skull screw, left CB | \n", + "
... and 1178 more rows.
\n", + " | location | \n", + "group | \n", + "group_name | \n", + "is_data_valid | \n", + "probe_vertical_position | \n", + "probe_horizontal_position | \n", + "x | \n", + "y | \n", + "z | \n", + "reference | \n", + "
---|---|---|---|---|---|---|---|---|---|---|
id | \n", + "\n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " |
0 | \n", + "VISl | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "377.0 | \n", + "58.0 | \n", + "82.0 | \n", + "stainless steel skull screw, left CB | \n", + "
1 | \n", + "VISp | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "377.0 | \n", + "24.0 | \n", + "141.0 | \n", + "stainless steel skull screw, left CB | \n", + "
2 | \n", + "RSPagl | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "377.0 | \n", + "20.0 | \n", + "188.0 | \n", + "stainless steel skull screw, left CB | \n", + "
3 | \n", + "VISal | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "333.0 | \n", + "47.0 | \n", + "79.0 | \n", + "stainless steel skull screw, left CB | \n", + "
... and 1178 more rows.
\n", + " | location | \n", + "group | \n", + "group_name | \n", + "is_data_valid | \n", + "probe_vertical_position | \n", + "probe_horizontal_position | \n", + "x | \n", + "y | \n", + "z | \n", + "reference | \n", + "
---|---|---|---|---|---|---|---|---|---|---|
id | \n", + "\n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " |
0 | \n", + "VISl | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "377.0 | \n", + "58.0 | \n", + "82.0 | \n", + "stainless steel skull screw, left CB | \n", + "
1 | \n", + "VISp | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "377.0 | \n", + "24.0 | \n", + "141.0 | \n", + "stainless steel skull screw, left CB | \n", + "
2 | \n", + "RSPagl | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "377.0 | \n", + "20.0 | \n", + "188.0 | \n", + "stainless steel skull screw, left CB | \n", + "
3 | \n", + "VISal | \n", + "EEG array pynwb.ecephys.ElectrodeGroup at 0x5116662832\\nFields:\\n description: 30-ch surface grid\\n device: EEG array pynwb.device.Device at 0x5107244336\\nFields:\\n description: H32 Mouse EEG (30-ch)\\n manufacturer: Neuronexus\\n\\n location: skull surface, both hemispheres\\n | \n", + "EEG array | \n", + "True | \n", + "-1 | \n", + "-1 | \n", + "333.0 | \n", + "47.0 | \n", + "79.0 | \n", + "stainless steel skull screw, left CB | \n", + "
... and 1178 more rows.
\n", + " | start_time | \n", + "stop_time | \n", + "tags | \n", + "
---|---|---|---|
id | \n", + "\n", + " | \n", + " | \n", + " |
0 | \n", + "4219.153339 | \n", + "4345.123339 | \n", + "[isoflurane_induction] | \n", + "
1 | \n", + "4345.133339 | \n", + "8598.253339 | \n", + "[isoflurane_anesthesia] | \n", + "
\n", + " | start_time | \n", + "stop_time | \n", + "stimulus_type | \n", + "stimulus_description | \n", + "estim_current | \n", + "estim_target_region | \n", + "estim_target_depth | \n", + "behavioral_epoch | \n", + "is_running | \n", + "is_valid | \n", + "
---|---|---|---|---|---|---|---|---|---|---|
id | \n", + "\n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " |
0 | \n", + "316.24158 | \n", + "316.24198 | \n", + "electrical | \n", + "biphasic | \n", + "35 | \n", + "SSp | \n", + "superficial | \n", + "awake | \n", + "True | \n", + "False | \n", + "
1 | \n", + "319.77460 | \n", + "319.77500 | \n", + "electrical | \n", + "biphasic | \n", + "25 | \n", + "SSp | \n", + "superficial | \n", + "awake | \n", + "True | \n", + "False | \n", + "
2 | \n", + "323.83623 | \n", + "323.83663 | \n", + "electrical | \n", + "biphasic | \n", + "35 | \n", + "SSp | \n", + "superficial | \n", + "awake | \n", + "True | \n", + "False | \n", + "
3 | \n", + "328.21852 | \n", + "328.21892 | \n", + "electrical | \n", + "biphasic | \n", + "45 | \n", + "SSp | \n", + "superficial | \n", + "awake | \n", + "True | \n", + "False | \n", + "
... and 1676 more rows.
\n", + " | start_time | \n", + "stop_time | \n", + "tags | \n", + "
---|---|---|---|
id | \n", + "\n", + " | \n", + " | \n", + " |
0 | \n", + "4219.153339 | \n", + "4345.123339 | \n", + "[isoflurane_induction] | \n", + "
1 | \n", + "4345.133339 | \n", + "8598.253339 | \n", + "[isoflurane_anesthesia] | \n", + "
\n", + " | start_time | \n", + "stop_time | \n", + "stimulus_type | \n", + "stimulus_description | \n", + "estim_current | \n", + "estim_target_region | \n", + "estim_target_depth | \n", + "behavioral_epoch | \n", + "is_running | \n", + "is_valid | \n", + "
---|---|---|---|---|---|---|---|---|---|---|
id | \n", + "\n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " |
0 | \n", + "316.24158 | \n", + "316.24198 | \n", + "electrical | \n", + "biphasic | \n", + "35 | \n", + "SSp | \n", + "superficial | \n", + "awake | \n", + "True | \n", + "False | \n", + "
1 | \n", + "319.77460 | \n", + "319.77500 | \n", + "electrical | \n", + "biphasic | \n", + "25 | \n", + "SSp | \n", + "superficial | \n", + "awake | \n", + "True | \n", + "False | \n", + "
2 | \n", + "323.83623 | \n", + "323.83663 | \n", + "electrical | \n", + "biphasic | \n", + "35 | \n", + "SSp | \n", + "superficial | \n", + "awake | \n", + "True | \n", + "False | \n", + "
3 | \n", + "328.21852 | \n", + "328.21892 | \n", + "electrical | \n", + "biphasic | \n", + "45 | \n", + "SSp | \n", + "superficial | \n", + "awake | \n", + "True | \n", + "False | \n", + "
... and 1676 more rows.
\n", + " | location | \n", + "x | \n", + "y | \n", + "z | \n", + "isi_violations | \n", + "amplitude_cutoff | \n", + "presence_ratio | \n", + "waveform_duration | \n", + "spike_times | \n", + "electrodes | \n", + "electrode_group | \n", + "waveform_mean | \n", + "
---|---|---|---|---|---|---|---|---|---|---|---|---|
id | \n", + "\n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " |
0 | \n", + "PO | \n", + "277.0 | \n", + "155.0 | \n", + "174.0 | \n", + "0.000000 | \n", + "0.000116 | \n", + "0.99 | \n", + "0.521943 | \n", + "[13.948908781955936, 14.025342049467497, 14.08450866518183, 14.346508439556317, 14.40147505888757, 15.157907740806195, 15.264774315442935, 15.292574291502547, 15.399874199099429, 15.815873840854351, 15.919473751637554, 16.557439868909, 16.672106436828585, 16.717306397903883, 16.832472965392924, 16.846506286641272, 16.936506209136326, 17.530272364471273, 17.585805649981182, 17.843338761535563, 17.94750533849742, 18.25463840733795, 18.445438243027468, 18.528671504683132, 18.594771447760024, 18.666438052709793, 19.900170323593898, 19.96233693672474, 20.29010332112989, 20.83520285170829, 20.839269514872854, 20.847802840857582, 20.861136162708704, 21.01513603008914, 21.2044358670704, 21.20656919856657, 21.21230252696256, 21.694168778662004, 21.9071019286244, 21.910001926126995, 22.07893511398072, 23.158834184007503, 24.000600125773303, 24.273066557800917, 24.32386651405369, 24.367733142943848, 24.593399615274052, 24.73466616028668, 25.045065892980745, 25.275965694137483, 25.32046565581561, 25.563565446466157, 25.674632017485976, 26.19956489876455, 26.739864433476555, 27.263830648920873, 27.318963934775297, 27.450063821876427, 27.476897132101783, 27.578397044693418, 27.697096942473024, 27.719896922838416, 27.73799690725133, 27.74513023444166, 27.751430229016364, 27.8252301654623, 28.007630008385604, 28.060129963174404, 28.074563284078238, 28.301163088937983, 28.55352953827503, 28.613696153128217, 28.757796029034182, 28.910229231097105, 29.019362470448527, 29.292228902131683, 29.370295501570013, 29.42639545325858, 29.514962043654634, 29.76129516485406, 29.866861740610318, 29.891828385776535, 30.019461609196412, 30.082794887989223, 30.18542813293817, 30.771827627950415, 30.993660770248425, 31.08982735409961, 31.112294001418775, 31.331527145955818, 31.499793667716915, 31.509293659535842, 31.525626978803473, 31.932426628481153, 32.40055955867393, 32.726992610893944, 32.734559271044475, 32.77742590079583, 32.80955920645704, 33.20759219701756, ...] | \n", + "[30] | \n", + "probeB pynwb.ecephys.ElectrodeGroup at 0x5117639808\\nFields:\\n description: Neuropixels probe B\\n device: probeB pynwb.device.Device at 0x5107246064\\nFields:\\n description: Neuropixels 1.0 probe\\n manufacturer: imec\\n\\n location: see electrode locations\\n | \n", + "[0.0, -7.581600000000008e-07, -1.5613650000000026e-06, -1.209585000000007e-06, -1.627665000000006e-06, -2.146365000000003e-06, -2.9172000000000074e-06, -4.0743300000000005e-06, -4.554225000000002e-06, -4.843409999999999e-06, -4.798559999999998e-06, -6.520020000000001e-06, -7.053734999999999e-06, -7.378800000000003e-06, -8.180054999999993e-06, -1.0015980000000006e-05, -1.772081999999999e-05, -0.00010121474999999995, -0.0003016995149999997, -0.00045183001500000034, -0.0004665817650000005, -0.00039831441000000057, -0.00029283676499999997, -0.00019088881499999984, -0.00011054608500000008, -4.806925500000001e-05, 2.2171499999999986e-07, 3.677271000000001e-05, 6.423943499999991e-05, 8.472438000000013e-05, 0.00010087779000000002, 0.00011406641999999992, 0.00012570070499999994, 0.00013607879999999987, 0.00014391233999999983, 0.00014854573500000013, 0.00014807441999999989, 0.0001445653949999998, 0.00013819181999999978, 0.00013092728999999995, 0.0001222616849999999, 0.00011252553000000002, 0.00010271118000000013, 9.31210799999999e-05, 8.432794499999997e-05, 7.593124500000007e-05, 6.846235499999997e-05, 6.150163500000003e-05, 5.443015499999995e-05, 4.8212970000000005e-05, 4.335318000000003e-05, 3.8737334999999975e-05, 3.418798499999998e-05, 3.083768999999994e-05, 2.7585674999999994e-05, 2.5344345000000014e-05, 2.330367000000002e-05, 2.0358779999999998e-05, 1.7913479999999996e-05, 1.5610725000000005e-05, 1.4146080000000007e-05, 1.242364499999999e-05, 1.0507380000000006e-05, 9.032009999999998e-06, 8.557379999999999e-06, 7.40356499999999e-06, 6.008145000000002e-06, 5.167694999999993e-06, 4.653869999999998e-06, 3.314024999999998e-06, 2.9019899999999975e-06, 2.464019999999998e-06, 1.833584999999999e-06, 7.294949999999995e-07, 4.777499999999975e-07, 5.036849999999988e-07, 6.066450000000003e-07, -3.186300000000004e-07, -5.894850000000017e-07, -1.125735000000003e-06, -1.5247049999999997e-06, -7.963800000000012e-07] | \n", + "
1 | \n", + "PO | \n", + "277.0 | \n", + "155.0 | \n", + "174.0 | \n", + "0.123142 | \n", + "0.020198 | \n", + "0.99 | \n", + "0.467002 | \n", + "[13.70340899337225, 13.7073423233183, 13.739008962714706, 13.763942274576323, 13.767442271562231, 13.891208831645258, 13.914875477930991, 13.941742121461004, 14.002175402751163, 14.037975371921448, 14.113741973340439, 14.218608549699468, 14.32887512140826, 14.356875097295585, 14.442941689844588, 14.501641639294121, 14.572974911197605, 14.612741543618597, 14.650374844543364, 14.679174819741775, 14.718008119633168, 14.749741425638831, 14.765608078641662, 14.815974701934238, 14.85460800199786, 14.888474639499748, 15.06377448853732, 15.107907783864505, 15.128474432819871, 15.137274425241628, 15.379074217011691, 15.44870749037915, 15.492307452832279, 15.5401407449732, 15.708373933429698, 15.731707246669146, 15.871373793059604, 15.894640439689852, 15.897607103801704, 15.930173742423051, 15.988540358826356, 16.09840693087955, 16.1373068973802, 16.174273532212453, 16.20597350491346, 16.273773446526434, 16.314540078086225, 16.339573389861698, 16.4709066100952, 16.691239753684954, 16.848139618567984, 16.950906196735502, 17.060806102093352, 17.116539387431033, 17.143839363921188, 17.21907263246618, 17.437372444473624, 17.54500568511679, 17.60817229738643, 17.623772283952235, 17.631738943758307, 17.669072244941447, 17.707805544918926, 17.74500551288355, 17.82777210827436, 17.945805339961396, 17.982638641575136, 18.00143862538522, 18.025938604286637, 18.060938574145837, 18.104571869903623, 18.16847181487509, 18.1972384567689, 18.21940510434638, 18.444538243802526, 18.521704844015915, 18.565538139601472, 18.591638117125, 18.60800476969729, 18.64530473757577, 18.682038039275596, 18.698871358112626, 18.75200464568934, 18.841971234879793, 18.89360452374825, 19.054571051795904, 19.133570983763775, 19.214504247400043, 19.434970724208313, 19.450604044078773, 19.662203861856028, 19.806670404112936, 19.84390370538216, 20.08993682683996, 20.11877013534297, 20.18967007428631, 20.274136668213146, 20.52763644990756, 20.59540305821588, 20.660003002584574, ...] | \n", + "[31] | \n", + "probeB pynwb.ecephys.ElectrodeGroup at 0x5117639808\\nFields:\\n description: Neuropixels probe B\\n device: probeB pynwb.device.Device at 0x5107246064\\nFields:\\n description: Neuropixels 1.0 probe\\n manufacturer: imec\\n\\n location: see electrode locations\\n | \n", + "[0.0, -2.934749999999986e-07, 9.301499999999807e-08, -3.002999999999969e-07, -7.361250000000007e-07, -7.881900000000028e-07, -5.902649999999983e-07, -1.0836150000000003e-06, -1.8743399999999969e-06, -2.751255000000001e-06, -4.595759999999991e-06, -8.93255999999999e-06, -1.6075994999999986e-05, -2.6192010000000078e-05, -3.660559500000001e-05, -4.699558500000006e-05, -5.9001929999999916e-05, -7.681985999999996e-05, -9.960015000000021e-05, -0.00011559697499999983, -0.0001168161149999999, -0.00010427937000000005, -8.451339000000001e-05, -6.178984499999997e-05, -3.9123825e-05, -1.8851234999999982e-05, -1.4517750000000017e-06, 1.4324895000000007e-05, 2.9244150000000058e-05, 4.199539499999999e-05, 5.386582499999996e-05, 6.243393000000005e-05, 6.811974000000003e-05, 7.039110000000006e-05, 7.058414999999993e-05, 6.900075000000008e-05, 6.590239499999997e-05, 6.253650000000001e-05, 5.8298955000000016e-05, 5.382857999999996e-05, 5.0058059999999944e-05, 4.580627999999999e-05, 4.116995999999995e-05, 3.754276500000007e-05, 3.381514500000003e-05, 3.088546500000009e-05, 2.825589000000009e-05, 2.5488840000000073e-05, 2.326876500000002e-05, 2.1360105000000016e-05, 1.910941500000003e-05, 1.6966169999999995e-05, 1.5231644999999991e-05, 1.3287494999999997e-05, 1.2197055e-05, 1.094847e-05, 9.160320000000008e-06, 7.68358499999999e-06, 6.7456350000000036e-06, 6.062744999999996e-06, 5.296005000000001e-06, 4.797584999999999e-06, 4.124834999999999e-06, 3.3746700000000005e-06, 3.025424999999999e-06, 1.9184100000000004e-06, 2.48118e-06, 2.391480000000001e-06, 2.3076300000000006e-06, 2.6295750000000006e-06, 2.423654999999999e-06, 2.80449e-06, 3.2543550000000016e-06, 3.4986899999999994e-06, 2.9427450000000004e-06, 3.28107e-06, 3.522870000000002e-06, 2.8372500000000002e-06, 2.3000249999999996e-06, 1.5282150000000005e-06, 8.308949999999983e-07, 8.681400000000008e-07] | \n", + "
2 | \n", + "PO | \n", + "277.0 | \n", + "154.0 | \n", + "174.0 | \n", + "0.496315 | \n", + "0.003877 | \n", + "0.99 | \n", + "0.453266 | \n", + "[13.67164235406193, 13.701442328399196, 13.718142314017712, 13.752808950830627, 13.800808909494663, 13.828442219031103, 13.84904220129107, 13.88844216736112, 14.009508729769323, 14.078342003825696, 14.09024199357782, 14.213375220872933, 14.23464186922547, 14.322275127091928, 14.346275106423946, 14.370941751848534, 14.39320839933987, 14.433608364548775, 14.63160819403788, 14.690174810268957, 14.747608094142663, 14.77884140057887, 14.805108044625626, 14.845708009662246, 14.862607995108533, 15.230674344808733, 15.374074221317471, 15.397840867517118, 15.399474199443887, 15.423507512080505, 15.434074169647545, 15.467840807235518, 15.490374121163882, 15.592974032808229, 15.60257402454107, 15.622907340364009, 15.68504062019025, 15.718607257950396, 15.761940553966554, 15.803607184751286, 15.863207133425817, 15.935073738203357, 15.974173704531779, 16.03434031938491, 16.059973630643697, 16.188940186248658, 16.240606808421774, 16.26490678749542, 16.73503971596591, 16.90210623876044, 16.92540621869523, 17.079606085903436, 17.097839403534863, 17.26123926282031, 17.328572538168487, 17.35090585226908, 17.458305759779876, 17.530939030563843, 17.590505645933717, 17.72573886280867, 17.73097219163526, 17.826338776175362, 17.84473876032996, 18.035205262973193, 18.207005115024856, 18.247371746929105, 18.505204858225113, 18.63213808224782, 18.653038064249415, 18.664571387650653, 18.735037993633796, 18.838737904330912, 18.844137899680618, 18.85400455785043, 18.871904542435573, 18.882204533565528, 18.93630448697644, 18.99250443857892, 19.001504430828447, 19.059637714099324, 19.18067094320287, 19.27720419340494, 19.388137431206246, 19.471137359729482, 19.490404009804365, 19.50460399757577, 19.61213723830508, 19.633937219531674, 19.64697054164111, 19.69947049642991, 19.7577037796147, 19.998970238510708, 20.024270216723153, 20.043536866798036, 20.051570193213365, 20.21500338580347, 20.30743663953632, 20.411469883279665, 20.427503202805667, 20.52643645094099, ...] | \n", + "[32] | \n", + "probeB pynwb.ecephys.ElectrodeGroup at 0x5117639808\\nFields:\\n description: Neuropixels probe B\\n device: probeB pynwb.device.Device at 0x5107246064\\nFields:\\n description: Neuropixels 1.0 probe\\n manufacturer: imec\\n\\n location: see electrode locations\\n | \n", + "[0.0, -4.867200000000009e-07, -5.001750000000147e-07, -4.4557500000000605e-07, -2.9250000000001996e-08, 3.644550000000057e-07, 2.263949999999939e-07, 3.6230999999998837e-07, -1.148549999999977e-07, -4.410899999999991e-07, -3.724500000000841e-08, 2.3396099999999973e-06, 8.411714999999997e-06, 1.3861574999999994e-05, 1.4905605000000002e-05, 7.999485e-06, -1.2148110000000026e-05, -5.1901395000000004e-05, -0.00010150764000000007, -0.00013575510000000002, -0.00014171703000000007, -0.00012637111500000007, -9.846330000000007e-05, -6.839430000000003e-05, -3.9699464999999986e-05, -1.6092570000000014e-05, 2.8900950000000027e-06, 1.85874e-05, 3.2455995e-05, 4.438180499999996e-05, 5.420122499999999e-05, 6.0560760000000015e-05, 6.371390999999993e-05, 6.489249000000001e-05, 6.455806500000004e-05, 6.207454499999998e-05, 5.8311824999999934e-05, 5.372600999999995e-05, 4.955788499999997e-05, 4.5556875000000016e-05, 4.240157999999999e-05, 3.8491830000000046e-05, 3.529656e-05, 3.1799235000000035e-05, 2.9428229999999982e-05, 2.726743499999996e-05, 2.5306514999999976e-05, 2.359129499999998e-05, 2.063236500000002e-05, 1.8679049999999975e-05, 1.680627000000001e-05, 1.5072330000000003e-05, 1.3695824999999995e-05, 1.2866489999999994e-05, 1.175421e-05, 1.1109734999999997e-05, 1.0349625000000002e-05, 8.880885e-06, 8.29374e-06, 7.90647e-06, 7.2032999999999984e-06, 6.583199999999998e-06, 5.703944999999999e-06, 5.388045e-06, 5.780969999999999e-06, 5.7136950000000005e-06, 5.914545e-06, 5.358209999999998e-06, 4.3641e-06, 3.472754999999997e-06, 3.117659999999994e-06, 2.708354999999994e-06, 2.8126799999999984e-06, 2.0909849999999943e-06, 1.7659199999999968e-06, 1.6931850000000031e-06, 1.2949949999999991e-06, 1.1255399999999974e-06, 1.058460000000002e-06, 1.7023500000000018e-06, 2.516279999999997e-06, 3.0158700000000028e-06] | \n", + "
3 | \n", + "PO | \n", + "277.0 | \n", + "154.0 | \n", + "174.0 | \n", + "0.388885 | \n", + "0.075353 | \n", + "0.99 | \n", + "0.549414 | \n", + "[13.909042149621087, 14.225341877234314, 14.316908465046879, 14.372775083603074, 14.494841645150075, 15.23494100780107, 15.364807562630972, 15.404007528873251, 15.71820725829491, 15.74634056740075, 16.16190687619553, 16.325340068785636, 16.748406371121632, 17.560605671682595, 18.037705260820246, 19.659637197399718, 20.1696034249004, 20.55206976219972, 20.70850296081801, 20.79470288658547, 20.93696943073695, 20.969636069272156, 20.99713604559014, 21.00450270591284, 21.025136021477465, 21.52330225913994, 23.21903413216529, 23.712133707524345, 23.718767035145277, 24.40409977829279, 25.907065150655626, 26.634464524243413, 26.67556448884949, 26.80129771390557, 26.828197690740183, 26.985864221629697, 26.992097549595087, 27.308463943817515, 27.340030583300063, 27.84069681880959, 27.85383014083294, 27.961063381820566, 28.122296576305246, 28.133496566660142, 28.19109651705702, 28.822762639753762, 29.038329120781782, 29.21649563401735, 29.307595555565115, 29.46316208826306, 29.55996200490216, 29.616661956074097, 29.714428538547395, 29.763461829654887, 29.774095153831183, 29.885195058155603, 29.970328318175007, 30.08539488575019, 30.201261452636402, 30.2026947847354, 30.348361325958876, 30.75552764198744, 30.805360932406018, 30.952127472682207, 31.270593865096203, 31.503393664616738, 31.63056022177176, 31.632893553095755, 31.74179345931475, 31.899193323767236, 32.09805981917668, 32.27115967010883, 32.488792816023704, 33.03212568145682, 33.08302563762351, 33.35949206620643, 33.951124890045264, 34.14309139139675, 34.264224620414154, 34.45712445429524, 34.51982440030014, 34.61035765566925, 34.949790696694095, 35.059190602482545, 35.25609043291894, 35.258190431110506, 35.403423639373784, 35.521790204107106, 35.59902347092975, 36.00295645640938, 36.487222706042076, 36.55012265187469, 36.90015568377123, 36.92298899744128, 37.229522066798495, 37.596721750578354, 37.83038821601923, 37.875888176836156, 37.88482150247637, 38.910053952913586, ...] | \n", + "[32] | \n", + "probeB pynwb.ecephys.ElectrodeGroup at 0x5117639808\\nFields:\\n description: Neuropixels probe B\\n device: probeB pynwb.device.Device at 0x5107246064\\nFields:\\n description: Neuropixels 1.0 probe\\n manufacturer: imec\\n\\n location: see electrode locations\\n | \n", + "[0.0, 1.918800000000047e-07, 4.095000000000048e-07, -4.217849999999981e-07, -3.369599999999968e-07, 9.067500000000184e-08, 1.169999999998339e-09, -3.3949499999999143e-07, -4.777499999999977e-07, -1.3014299999999866e-06, -1.9897799999999944e-06, -2.1093150000000085e-06, -3.458519999999992e-06, -6.170384999999997e-06, -1.3548015000000013e-05, -2.6547104999999985e-05, -4.284832499999998e-05, -5.819209499999999e-05, -6.860899499999999e-05, -6.955279499999993e-05, -6.371507999999995e-05, -5.393563500000003e-05, -4.289980499999997e-05, -3.0139979999999988e-05, -1.885084499999993e-05, -8.888879999999979e-06, 4.7580000000008834e-08, 8.318505000000005e-06, 1.665826499999999e-05, 2.3285925000000002e-05, 2.845303500000002e-05, 3.2703060000000006e-05, 3.666077999999999e-05, 3.8222925000000045e-05, 3.888358500000007e-05, 3.9553605000000014e-05, 3.8940135000000006e-05, 3.8758200000000025e-05, 3.732651000000002e-05, 3.479930999999999e-05, 3.257669999999999e-05, 3.076105499999995e-05, 2.8782194999999956e-05, 2.685364499999999e-05, 2.431259999999999e-05, 2.217890999999997e-05, 1.962051000000001e-05, 1.8344040000000002e-05, 1.7072639999999996e-05, 1.5081104999999997e-05, 1.4079195000000012e-05, 1.3605149999999998e-05, 1.2695474999999999e-05, 1.1455860000000006e-05, 9.702420000000009e-06, 8.121555000000002e-06, 7.488585000000002e-06, 7.083375000000003e-06, 6.867120000000003e-06, 6.8554200000000036e-06, 6.7136550000000026e-06, 7.150065000000005e-06, 6.770985000000005e-06, 6.591000000000004e-06, 5.812170000000004e-06, 5.030220000000004e-06, 3.851055000000005e-06, 3.0357600000000025e-06, 2.6514150000000003e-06, 2.3495550000000023e-06, 2.338635000000004e-06, 2.2914450000000034e-06, 1.8991049999999995e-06, 1.5802800000000032e-06, 1.8983250000000038e-06, 2.2099350000000073e-06, 2.4876150000000024e-06, 1.953120000000004e-06, 2.7204450000000042e-06, 2.5623000000000047e-06, 2.9062800000000016e-06, 2.2889100000000018e-06] | \n", + "
... and 973 more rows.
\n", + " | start_time | \n", + "stop_time | \n", + "tags | \n", + "
---|---|---|---|
id | \n", + "\n", + " | \n", + " | \n", + " |
0 | \n", + "4219.153339 | \n", + "4345.123339 | \n", + "[isoflurane_induction] | \n", + "
1 | \n", + "4345.133339 | \n", + "8598.253339 | \n", + "[isoflurane_anesthesia] | \n", + "
\n", + " | start_time | \n", + "stop_time | \n", + "stimulus_type | \n", + "stimulus_description | \n", + "estim_current | \n", + "estim_target_region | \n", + "estim_target_depth | \n", + "behavioral_epoch | \n", + "is_running | \n", + "is_valid | \n", + "
---|---|---|---|---|---|---|---|---|---|---|
id | \n", + "\n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " |
762 | \n", + "3645.52518 | \n", + "3645.52558 | \n", + "electrical | \n", + "biphasic | \n", + "25 | \n", + "SSp | \n", + "deep | \n", + "awake | \n", + "False | \n", + "True | \n", + "
522 | \n", + "2680.13009 | \n", + "2680.13049 | \n", + "electrical | \n", + "biphasic | \n", + "25 | \n", + "SSp | \n", + "deep | \n", + "awake | \n", + "False | \n", + "True | \n", + "
575 | \n", + "2891.89533 | \n", + "2891.89573 | \n", + "electrical | \n", + "biphasic | \n", + "25 | \n", + "SSp | \n", + "deep | \n", + "awake | \n", + "False | \n", + "True | \n", + "
\n", + " | start_time | \n", + "stop_time | \n", + "stimulus_type | \n", + "stimulus_description | \n", + "estim_current | \n", + "estim_target_region | \n", + "estim_target_depth | \n", + "behavioral_epoch | \n", + "is_running | \n", + "is_valid | \n", + "
---|---|---|---|---|---|---|---|---|---|---|
id | \n", + "\n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " |
1051 | \n", + "5826.67787 | \n", + "5826.67827 | \n", + "electrical | \n", + "biphasic | \n", + "45 | \n", + "SSp | \n", + "deep | \n", + "isoflurane | \n", + "False | \n", + "True | \n", + "
907 | \n", + "5249.74729 | \n", + "5249.74769 | \n", + "electrical | \n", + "biphasic | \n", + "45 | \n", + "SSp | \n", + "deep | \n", + "isoflurane | \n", + "False | \n", + "True | \n", + "
1144 | \n", + "6201.42846 | \n", + "6201.42886 | \n", + "electrical | \n", + "biphasic | \n", + "45 | \n", + "SSp | \n", + "deep | \n", + "isoflurane | \n", + "False | \n", + "True | \n", + "